Skip to content

Commit

Permalink
fix publish images
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo Chacin <[email protected]>
  • Loading branch information
pablochacin committed Nov 19, 2024
1 parent 998c57a commit 73ab21c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ jobs:
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin
- name: Log into Docker Hub
if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') }}
run: |
echo "${{ secrets.DOCKER_PASS }}" | docker login -u "${{ secrets.DOCKER_USER }}" --password-stdin
- name: Publish master image to ghcr.io
if: ${{ github.ref == 'refs/heads/master' }}
run: |
Expand All @@ -72,11 +77,6 @@ jobs:
-t "ghcr.io/${IMAGE_REPOSITORY}:latest" .
fi
- name: Log into Docker Hub
if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') }}
run: |
echo "${{ secrets.DOCKER_PASS }}" | docker login -u "${{ secrets.DOCKER_USER }}" --password-stdin
- name: Publish master image to Docker Hub
if: ${{ github.ref == 'refs/heads/master' }}
run: |
Expand Down

0 comments on commit 73ab21c

Please sign in to comment.