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 1010 version :
1111 description : " release version, also creates a tag e.g. (0.1.0)"
1212 required : true
13-
13+
1414permissions :
1515 actions : read
1616 checks : none
8585 run : docker push ghcr.io/coder/envbox:${{ github.event.inputs.version }}-${{ matrix.arch-suffix }}
8686 manifest :
8787 runs-on : ubuntu-22.04
88- needs : release
88+ needs : release
8989 steps :
9090 - name : Checkout
9191 uses : actions/checkout@v3
@@ -103,8 +103,14 @@ jobs:
103103 docker manifest create ghcr.io/coder/envbox:${{ github.event.inputs.version }} \
104104 --amend ghcr.io/coder/envbox:${{ github.event.inputs.version }}-amd64 \
105105 --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+
106110 - 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
108114
109115 tag :
110116 runs-on : ubuntu-22.04
@@ -123,5 +129,3 @@ jobs:
123129 run : |
124130 git tag -a ${{ github.event.inputs.version }} -m ${{ github.event.inputs.version }}
125131 git push --tags
126-
127-
You can’t perform that action at this time.
0 commit comments