File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -503,6 +503,10 @@ jobs:
503
503
- name : Checkout
504
504
uses : actions/checkout@v4
505
505
506
+ - name : Get short SHA
507
+ id : slug
508
+ run : echo "sha8=$(echo ${{ github.sha }} | cut -c1-7)" >> $GITHUB_OUTPUT
509
+
506
510
- name : Set up QEMU
507
511
uses : docker/setup-qemu-action@v3
508
512
@@ -523,7 +527,7 @@ jobs:
523
527
images : ${{ env.REGISTRY }}/${{ env.PACKAGE }}
524
528
tags : |
525
529
unstable
526
- type=raw,value=${{ github.base_ref || github.ref_name }}-{{sha }}
530
+ type=raw,value=${{ github.base_ref || github.ref_name }}-${{ steps.slug.outputs.sha8 }}
527
531
528
532
- name : Download built artifacts (Linux-X64)
529
533
uses : actions/download-artifact@v4
Original file line number Diff line number Diff line change @@ -130,6 +130,10 @@ jobs:
130
130
- name : Checkout
131
131
uses : actions/checkout@v4
132
132
133
+ - name : Get short SHA
134
+ id : slug
135
+ run : echo "sha8=$(echo ${{ github.sha }} | cut -c1-7)" >> $GITHUB_OUTPUT
136
+
133
137
- name : Set up QEMU
134
138
uses : docker/setup-qemu-action@v3
135
139
@@ -150,7 +154,7 @@ jobs:
150
154
images : ${{ env.REGISTRY }}/${{ env.PACKAGE }}
151
155
tags : |
152
156
pre-release
153
- type=raw,value=${{ github.ref_name }}-{{sha }}
157
+ type=raw,value=${{ github.ref_name }}-${{ steps.slug.outputs.sha8 }}
154
158
155
159
- name : Download built artifacts (Linux-x64)
156
160
uses : dawidd6/action-download-artifact@v6
Original file line number Diff line number Diff line change 31
31
- name : Checkout
32
32
uses : actions/checkout@v4
33
33
34
+ - name : Get short SHA
35
+ id : slug
36
+ run : echo "sha8=$(echo ${{ github.sha }} | cut -c1-7)" >> $GITHUB_OUTPUT
37
+
34
38
- name : Set up QEMU
35
39
uses : docker/setup-qemu-action@v3
36
40
51
55
images : ${{ env.REGISTRY }}/${{ env.PACKAGE }}
52
56
tags : |
53
57
latest
54
- type=raw,value=${{ github.ref_name }}-{{sha }}
58
+ type=raw,value=${{ github.ref_name }}-${{ steps.slug.outputs.sha8 }}
55
59
56
60
- name : Download built artifacts (Linux-x64)
57
61
uses : dawidd6/action-download-artifact@v6
You can’t perform that action at this time.
0 commit comments