File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name: Release Build and Publish
33permissions :
44 contents : write
55 pull-requests : read
6+ packages : write
67
78on :
89 push :
@@ -193,6 +194,13 @@ jobs:
193194 extra_nix_config : |
194195 experimental-features = nix-command flakes
195196
197+ - name : Log in to GHCR
198+ uses : docker/login-action@v3
199+ with :
200+ registry : ghcr.io
201+ username : ${{ github.actor }}
202+ password : ${{ secrets.GITHUB_TOKEN }}
203+
196204 - name : Build individual images with Nix
197205 run : |
198206 nix build .#image-${{ matrix.arch }}
@@ -227,7 +235,7 @@ jobs:
227235
228236 manifest_args=""
229237 for arch in $(echo "$ARCHS" | jq -r '.[].arch'); do
230- manifest_args="$manifest_args --amend ghcr.io/${{ env.REPOSITORY }}:$arch"
238+ manifest_args="$manifest_args --amend ghcr.io/${{ env.REPOSITORY }}:${{ env.VERSION }}-$ arch"
231239 done
232240
233241 echo "Running docker manifest create $IMAGE $manifest_args"
You can’t perform that action at this time.
0 commit comments