Skip to content

Commit

Permalink
actions: skip Docker Hub login if when not going to push
Browse files Browse the repository at this point in the history
  • Loading branch information
hypnoglow committed Sep 6, 2022
1 parent 6aee736 commit 3efd818
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/reusable-docker-images.yml
Expand Up @@ -84,6 +84,7 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
if: steps.vars.outputs.push == 'true'

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6 # v2.0.0
Expand Down

0 comments on commit 3efd818

Please sign in to comment.