File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,18 @@ jobs:
36
36
username : ${{ github.repository_owner }}
37
37
password : ${{ secrets.GITHUB_TOKEN }}
38
38
39
+ - name : Get short SHA
40
+ id : short_sha
41
+ run : echo "::set-output name=SHORT_SHA::${GITHUB_SHA::7}"
42
+
39
43
- name : Build and push multi-arch fuel-bridge image
40
44
uses : docker/build-push-action@v4
41
45
with :
42
46
context : .
43
47
push : true
44
- tags : ghcr.io/fuellabs/fuel-bridge:latest
48
+ tags : |
49
+ ghcr.io/fuellabs/fuel-bridge:latest
50
+ ghcr.io/fuellabs/fuel-bridge:${{ steps.short_sha.outputs.SHORT_SHA }}
45
51
file : docker/l1-chain/Dockerfile
46
52
platforms : linux/amd64,linux/arm64
47
53
@@ -67,11 +73,17 @@ jobs:
67
73
username : ${{ github.repository_owner }}
68
74
password : ${{ secrets.GITHUB_TOKEN }}
69
75
76
+ - name : Get short SHA
77
+ id : short_sha
78
+ run : echo "::set-output name=SHORT_SHA::${GITHUB_SHA::7}"
79
+
70
80
- name : Build and push multi-arch fuel-bridge-full image
71
81
uses : docker/build-push-action@v4
72
82
with :
73
83
context : .
74
84
push : true
75
- tags : ghcr.io/fuellabs/fuel-bridge-full:latest
85
+ tags : |
86
+ ghcr.io/fuellabs/fuel-bridge-full:latest
87
+ ghcr.io/fuellabs/fuel-bridge-full:${{ steps.short_sha.outputs.SHORT_SHA }}
76
88
file : docker/full-env/Dockerfile
77
89
platforms : linux/amd64,linux/arm64
You can’t perform that action at this time.
0 commit comments