Skip to content

Commit

Permalink
docker: Only push latest container and only from master
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkwouter committed Oct 9, 2023
1 parent 88d18d6 commit c08d03c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push Docker Image
uses: docker/build-push-action@v3
if: github.ref == 'refs/heads/master' && matrix.tag == 'latest'
with:
push: true
build-args: ${{ matrix.build-args }}
Expand Down

0 comments on commit c08d03c

Please sign in to comment.