Skip to content

Commit

Permalink
ci: only push to docker on push events (#8722)
Browse files Browse the repository at this point in the history
`pull_request` events do not have access to secrets, so can't push.

Signed-off-by: Etienne Millon <[email protected]>
  • Loading branch information
emillon authored Sep 21, 2023
1 parent 36a199e commit abc324b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,6 @@ jobs:
with:
image_name: monorepobenchmark
dockerfile: bench/monorepo/bench.Dockerfile
push_image_and_stages: true
push_image_and_stages: on:push
username: ocamldune
password: "${{ secrets.DOCKER_HUB_PASSWORD }}"

0 comments on commit abc324b

Please sign in to comment.