Skip to content

Commit

Permalink
Fix Docker container publishing authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
ARolek committed May 18, 2022
1 parent f20dfd2 commit 5d447e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/on_release_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,11 @@ jobs:
- name: Publish Docker container
if: github.event_name == 'release'
env:
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
run: |
echo ${DOCKERHUB_PASSWORD} | docker login -u ${DOCKERHUB_USER} --password-stdin
docker push ${DOCKERHUB_ORG}/${DOCKERHUB_REPO}:${VERSION}
docker push ${DOCKERHUB_ORG}/${DOCKERHUB_REPO}:latest
Expand Down

0 comments on commit 5d447e7

Please sign in to comment.