Skip to content

Commit 7e38b2f

Browse files
committed
feat: push to Docker sha and allow workflow dispatch
1 parent 9f73ac9 commit 7e38b2f

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/docker.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- "main"
77
tags:
88
- "v*"
9+
workflow_dispatch: {}
910

1011
env:
1112
REGISTRY: ghcr.io
@@ -77,7 +78,7 @@ jobs:
7778
run: |
7879
platform=${{ matrix.settings.arch }}
7980
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
80-
81+
8182
- name: Upload digest
8283
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
8384
with:
@@ -219,7 +220,6 @@ jobs:
219220
if-no-files-found: error
220221
retention-days: 1
221222

222-
223223
merge-geth:
224224
runs-on: ubuntu-latest
225225
needs:
@@ -254,6 +254,9 @@ jobs:
254254
images: |
255255
${{ env.NAMESPACE }}/${{ env.GETH_DEPRECATED_IMAGE_NAME }}
256256
${{ env.NAMESPACE }}/${{ env.GETH_IMAGE_NAME }}
257+
tags: |
258+
type=ref,event=branch
259+
type=sha,format=long
257260
258261
- name: Create manifest list and push
259262
working-directory: ${{ runner.temp }}/digests
@@ -301,6 +304,9 @@ jobs:
301304
with:
302305
images: |
303306
${{ env.NAMESPACE }}/${{ env.RETH_IMAGE_NAME }}
307+
tags: |
308+
type=ref,event=branch
309+
type=sha,format=long
304310
305311
- name: Create manifest list and push
306312
working-directory: ${{ runner.temp }}/digests
@@ -345,6 +351,9 @@ jobs:
345351
with:
346352
images: |
347353
${{ env.NAMESPACE }}/${{ env.NETHERMIND_IMAGE_NAME }}
354+
tags: |
355+
type=ref,event=branch
356+
type=sha,format=long
348357
349358
- name: Create manifest list and push
350359
working-directory: ${{ runner.temp }}/digests

0 commit comments

Comments
 (0)