There was an error while loading. Please reload this page.
1 parent b24c930 commit 116c747Copy full SHA for 116c747
.github/workflows/docker-image.yml
@@ -26,7 +26,6 @@ jobs:
26
# list of Docker images to use as base name for tags
27
images: |
28
haravich/custom-ssh-server
29
- ghcr.io/haravich/custom-ssh-server
30
# generate Docker tags based on the following events/attributes
31
tags: |
32
type=ref,event=branch
@@ -49,14 +48,6 @@ jobs:
49
48
username: ${{ secrets.DOCKERHUB_USERNAME }}
50
password: ${{ secrets.DOCKERHUB_TOKEN }}
51
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
-
60
- name: Build and push
61
uses: docker/build-push-action@v4
62
with:
0 commit comments