Skip to content

Commit 2e53a65

Browse files
ARolekgdey
authored andcommitted
Fix Docker container publishing authentication
1 parent f20dfd2 commit 2e53a65

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/on_release_publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,11 @@ jobs:
244244
245245
- name: Publish Docker container
246246
if: github.event_name == 'release'
247+
env:
248+
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
249+
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
247250
run: |
251+
echo ${DOCKERHUB_PASSWORD} | docker login -u ${DOCKERHUB_USER} --password-stdin
248252
docker push ${DOCKERHUB_ORG}/${DOCKERHUB_REPO}:${VERSION}
249253
docker push ${DOCKERHUB_ORG}/${DOCKERHUB_REPO}:latest
250254

0 commit comments

Comments
 (0)