File tree Expand file tree Collapse file tree
nix/custom-images/images/it-tools Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ permissions:
2727env :
2828 FLAKE_ROOT : nix/custom-images
2929 REGISTRY : ghcr.io
30- IMAGE_NAMESPACE : ${{ github.repository_owner }}
3130
3231jobs :
3332 determine-releases :
@@ -419,6 +418,10 @@ jobs:
419418 username : ${{ github.actor }}
420419 password : ${{ secrets.GITHUB_TOKEN }}
421420
421+ - name : Set lowercase repo owner
422+ id : repo
423+ run : echo "owner=${GITHUB_REPOSITORY_OWNER,,}" >> "$GITHUB_OUTPUT"
424+
422425 - name : Create multi-architecture image
423426 env :
424427 IMAGE : ${{ matrix.release.image }}
@@ -427,7 +430,7 @@ jobs:
427430 run : |
428431 set -euo pipefail
429432
430- image="${{ env.REGISTRY }}/${{ env.IMAGE_NAMESPACE }}/${IMAGE}"
433+ image="${{ env.REGISTRY }}/${{ steps.repo.outputs.owner }}/${IMAGE}"
431434
432435 amd64="${image}:ci-${RUN_ID}-x86_64-linux"
433436 arm64="${image}:ci-${RUN_ID}-aarch64-linux"
@@ -444,7 +447,7 @@ jobs:
444447 run : |
445448 set -euo pipefail
446449
447- image="${{ env.REGISTRY }}/${{ env.IMAGE_NAMESPACE }}/${IMAGE}:${VERSION}"
450+ image="${{ env.REGISTRY }}/${{ steps.repo.outputs.owner }}/${IMAGE}:${VERSION}"
448451
449452 docker buildx imagetools inspect "$image"
450453
Original file line number Diff line number Diff line change 8787 }
8888 ] ;
8989
90+
9091 config = {
9192 Cmd = [ "${ pkgs . nginx } /bin/nginx" "-c" "/etc/nginx/nginx.conf" ] ;
9293 ExposedPorts = {
You can’t perform that action at this time.
0 commit comments