don't try building x86_64 image
Some checks failed
Build Images / build (push) Failing after 1m30s
Check / check (push) Successful in 3m38s

This commit is contained in:
Joakim Repomaa
2026-02-22 16:31:43 +02:00
parent 13e119a6c3
commit 5bff4d9713
4 changed files with 110 additions and 58 deletions

View File

@@ -17,9 +17,6 @@ jobs:
- name: Install Skopeo
run: nix shell nixpkgs#skopeo -c echo "skopeo installed"
- name: Build x86_64 Image
run: nix build .#dockerImages.x86_64-linux.node --out-link ./image-x86_64.tar.gz
- name: Build aarch64 Image
run: nix build .#dockerImages.aarch64-linux.node --out-link ./image-aarch64.tar.gz
@@ -28,24 +25,16 @@ jobs:
env:
GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# Push x86_64 image
skopeo copy \
--insecure-policy \
--dest-creds "${{ github.actor }}:${GITEA_TOKEN}" \
"docker-archive:./image-x86_64.tar.gz" \
"docker://${{ github.server_url }}/${{ github.repository }}/node:latest-amd64"
# Push aarch64 image
# Push aarch64 image
skopeo copy \
--insecure-policy \
--dest-creds "${{ github.actor }}:${GITEA_TOKEN}" \
"docker-archive:./image-aarch64.tar.gz" \
"docker://${{ github.server_url }}/${{ github.repository }}/node:latest-arm64"
# Create and push manifest for multi-arch
# Create and push manifest for arm64
skopeo manifest create \
--insecure-policy \
--dest-creds "${{ github.actor }}:${GITEA_TOKEN}" \
"docker://${{ github.server_url }}/${{ github.repository }}/node:latest" \
"docker://${{ github.server_url }}/${{ github.repository }}/node:latest-amd64" \
"docker://${{ github.server_url }}/${{ github.repository }}/node:latest-arm64"