Skip to content

Commit

Permalink
Changes to publish build
Browse files Browse the repository at this point in the history
  • Loading branch information
haravich committed Aug 12, 2023
1 parent b24c930 commit 116c747
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
# list of Docker images to use as base name for tags
images: |
haravich/custom-ssh-server
ghcr.io/haravich/custom-ssh-server
# generate Docker tags based on the following events/attributes
tags: |
type=ref,event=branch
Expand All @@ -49,14 +48,6 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GHCR
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v4
with:
Expand Down

0 comments on commit 116c747

Please sign in to comment.