Skip to content

Commit 979a338

Browse files
authored
feat: push to Docker sha and allow workflow dispatch (#639)
1 parent aa205fb commit 979a338

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/docker.yml

Lines changed: 14 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,10 @@ 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=ref,event=tag
260+
type=sha,format=long
257261
258262
- name: Create manifest list and push
259263
working-directory: ${{ runner.temp }}/digests
@@ -301,6 +305,10 @@ jobs:
301305
with:
302306
images: |
303307
${{ env.NAMESPACE }}/${{ env.RETH_IMAGE_NAME }}
308+
tags: |
309+
type=ref,event=branch
310+
type=ref,event=tag
311+
type=sha,format=long
304312
305313
- name: Create manifest list and push
306314
working-directory: ${{ runner.temp }}/digests
@@ -345,6 +353,10 @@ jobs:
345353
with:
346354
images: |
347355
${{ env.NAMESPACE }}/${{ env.NETHERMIND_IMAGE_NAME }}
356+
tags: |
357+
type=ref,event=branch
358+
type=ref,event=tag
359+
type=sha,format=long
348360
349361
- name: Create manifest list and push
350362
working-directory: ${{ runner.temp }}/digests

0 commit comments

Comments
 (0)