File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 10
10
version :
11
11
description : " release version, also creates a tag e.g. (0.1.0)"
12
12
required : true
13
-
13
+
14
14
permissions :
15
15
actions : read
16
16
checks : none
85
85
run : docker push ghcr.io/coder/envbox:${{ github.event.inputs.version }}-${{ matrix.arch-suffix }}
86
86
manifest :
87
87
runs-on : ubuntu-22.04
88
- needs : release
88
+ needs : release
89
89
steps :
90
90
- name : Checkout
91
91
uses : actions/checkout@v3
@@ -103,8 +103,14 @@ jobs:
103
103
docker manifest create ghcr.io/coder/envbox:${{ github.event.inputs.version }} \
104
104
--amend ghcr.io/coder/envbox:${{ github.event.inputs.version }}-amd64 \
105
105
--amend ghcr.io/coder/envbox:${{ github.event.inputs.version }}-arm64
106
+ docker manifest create ghcr.io/coder/envbox:latest \
107
+ --amend ghcr.io/coder/envbox:${{ github.event.inputs.version }}-amd64 \
108
+ --amend ghcr.io/coder/envbox:${{ github.event.inputs.version }}-arm64
109
+
106
110
- name : Push Manifest
107
- run : docker manifest push ghcr.io/coder/envbox:${{ github.event.inputs.version }}
111
+ run : |
112
+ docker manifest push ghcr.io/coder/envbox:${{ github.event.inputs.version }}
113
+ docker manifest push ghcr.io/coder/envbox:latest
108
114
109
115
tag :
110
116
runs-on : ubuntu-22.04
@@ -123,5 +129,3 @@ jobs:
123
129
run : |
124
130
git tag -a ${{ github.event.inputs.version }} -m ${{ github.event.inputs.version }}
125
131
git push --tags
126
-
127
-
You can’t perform that action at this time.
0 commit comments