try wth github.repository_owner
Some checks failed
Build Images / build (push) Failing after 1m2s
Check / check (push) Successful in 3m39s

This commit is contained in:
Joakim Repomaa
2026-02-22 18:01:45 +02:00
parent d6cb5fa99b
commit 833e59a0d5

View File

@@ -19,8 +19,6 @@ jobs:
- name: Push to Gitea Registry
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
env:
GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
REGISTRY="${{ github.server_url }}"
REGISTRY="${REGISTRY#https://}"
@@ -29,13 +27,13 @@ jobs:
# Push aarch64 image
skopeo copy \
--insecure-policy \
--dest-creds "${{ github.actor }}:${GITEA_TOKEN}" \
--dest-creds "${{ github.repository_owner }}:${{ secrets.GITEA_TOKEN }}" \
"docker-archive:./image-aarch64.tar.gz" \
"docker://${REGISTRY}/${{ github.repository }}/node:latest-arm64"
# Create and push manifest for arm64
skopeo manifest create \
--insecure-policy \
--dest-creds "${{ github.actor }}:${GITEA_TOKEN}" \
--dest-creds "${{ github.repository_owner }}:${{ secrets.GITEA_TOKEN }}" \
"docker://${REGISTRY}/${{ github.repository }}/node:latest" \
"docker://${REGISTRY}/${{ github.repository }}/node:latest-arm64"