Skip to content

Commit 116c747

Browse files
committed
Changes to publish build
1 parent b24c930 commit 116c747

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

.github/workflows/docker-image.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626
# list of Docker images to use as base name for tags
2727
images: |
2828
haravich/custom-ssh-server
29-
ghcr.io/haravich/custom-ssh-server
3029
# generate Docker tags based on the following events/attributes
3130
tags: |
3231
type=ref,event=branch
@@ -49,14 +48,6 @@ jobs:
4948
username: ${{ secrets.DOCKERHUB_USERNAME }}
5049
password: ${{ secrets.DOCKERHUB_TOKEN }}
5150

52-
- name: Login to GHCR
53-
if: github.event_name != 'pull_request'
54-
uses: docker/login-action@v2
55-
with:
56-
registry: ghcr.io
57-
username: ${{ github.repository_owner }}
58-
password: ${{ secrets.GITHUB_TOKEN }}
59-
6051
- name: Build and push
6152
uses: docker/build-push-action@v4
6253
with:

0 commit comments

Comments
 (0)