don't try building x86_64 image
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user