Skip to content

Commit

Permalink
It's DOCKER_PASS not DOCKER_PASSWORD
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill888 committed Aug 25, 2021
1 parent a86c13d commit 03235c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ jobs:
run: |
if [ -n "${{ secrets.DOCKER_USER }}" ]; then
echo "Login to DockerHub as ${{ secrets.DOCKER_USER }}"
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USER }}" --password-stdin
echo "${{ secrets.DOCKER_PASS }}" | docker login -u "${{ secrets.DOCKER_USER }}" --password-stdin
echo "::set-output name=logged_in::yes"
else
echo "Set DOCKER_{PASSWORD,USER} secrets to push to docker"
echo "Set DOCKER_{PASS,USER} secrets to push to docker"
echo "::set-output name=logged_in::no"
fi
Expand Down

0 comments on commit 03235c5

Please sign in to comment.