55 tags :
66 # Match tags in the format YYYYMMDD
77 - " 20[0-9][0-9][0-1][0-9][0-3][0-9]*"
8- pull_request :
9- branches :
10- - " *"
118
129concurrency :
1310 group : ${{ github.workflow }}-${{ github.ref }}
5855 build-args : NITRO_CONTRACTS_BRANCH=v3.1.0
5956 file : ./docker/rollupcreator.Dockerfile
6057 platforms : linux/amd64
61- push : ${{ github.event_name = = 'pull_request' }}
58+ push : ${{ github.event_name ! = 'pull_request' }}
6259 tags : ${{ steps.meta.outputs.tags }}
6360 labels : ${{ steps.meta.outputs.labels }}
6461
7774
7875 - name : Login to Github Container Repo
7976 uses : docker/login-action@v3
80- if : github.event_name = = 'pull_request'
77+ if : github.event_name ! = 'pull_request'
8178 with :
8279 registry : ghcr.io
8380 username : ${{ github.repository_owner }}
10097 build-args : NITRO_CONTRACTS_BRANCH=v3.1.0
10198 file : ./docker/rollupcreator.Dockerfile
10299 platforms : linux/arm64
103- push : ${{ github.event_name = = 'pull_request' }}
100+ push : ${{ github.event_name ! = 'pull_request' }}
104101 tags : ${{ steps.meta.outputs.tags }}
105102 labels : ${{ steps.meta.outputs.labels }}
106103
@@ -134,11 +131,11 @@ jobs:
134131 with :
135132 tags : ghcr.io/espressosystems/timeboost/rollup-creator:${{steps.metadata.outputs.version}}
136133 inputs : ghcr.io/espressosystems/timeboost/rollup-creator@${{needs.build.outputs.digest}},ghcr.io/espressosystems/timeboost/rollup-creator@${{needs.build-arm.outputs.digest}}
137- push : ${{ github.event_name = = 'pull_request' }}
134+ push : ${{ github.event_name ! = 'pull_request' }}
138135
139136 - name : Create and push manifest images to latest
140137 uses : Noelware/docker-manifest-action@master
141138 with :
142139 tags : ghcr.io/espressosystems/timeboost/rollup-creator:latest
143140 inputs : ghcr.io/espressosystems/timeboost/rollup-creator@${{needs.build.outputs.digest}},ghcr.io/espressosystems/timeboost/rollup-creator@${{needs.build-arm.outputs.digest}}
144- push : ${{ github.event_name = = 'pull_request' }}
141+ push : ${{ github.event_name ! = 'pull_request' }}
0 commit comments