1 parent cbd6928 commit c8454bcCopy full SHA for c8454bc
1 file changed
.github/workflows/build.yml
@@ -195,6 +195,8 @@ jobs:
195
name: Push ubuntu-24.04-noble-amd64-valgrind
196
needs: test-valgrind
197
runs-on: ubuntu-latest
198
+ if: "github.event_name == 'push'
199
+ && github.ref == 'refs/heads/main'"
200
steps:
201
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
202
with:
@@ -221,9 +223,7 @@ jobs:
221
223
docker images
222
224
225
- name: Push image
- if: "steps.build.outputs.logged_in == 'true'
- && github.event_name == 'push'
226
- && github.ref == 'refs/heads/main'"
+ if: "steps.build.outputs.logged_in == 'true'"
227
run: make push-ubuntu-24.04-noble-amd64-valgrind BRANCH=main
228
env:
229
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
0 commit comments