Skip to content

Commit

Permalink
use github secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
c4po committed Oct 8, 2020
1 parent f694642 commit 8719163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: docker build . --file Dockerfile --tag $IMAGE_NAME

- name: Log into Dockerhub
run: echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin

- name: Push image to Dockerhub
run: |
Expand Down

0 comments on commit 8719163

Please sign in to comment.