Skip to content

Commit

Permalink
Docker login should not happen in PR's
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Jan 12, 2021
1 parent b747bcc commit acc2b10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/push_docker_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ jobs:
-
name: 🧰 Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}

- name: 🔓 Login to docker hub
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_TOKEN }}

- name: 🛠️ Run Buildx
run: |
docker buildx build \
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ jobs:
-
name: 🧰 Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}
- name: 🔓 Login to docker hub
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_TOKEN }}

- name: 🛠️ Run Buildx
run: |
docker buildx build \
Expand Down

0 comments on commit acc2b10

Please sign in to comment.