From 833e59a0d58fa7915a8543e30e3ba99aa356b84d Mon Sep 17 00:00:00 2001 From: Joakim Repomaa Date: Sun, 22 Feb 2026 18:01:45 +0200 Subject: [PATCH] try wth github.repository_owner --- .gitea/workflows/build-images.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build-images.yml b/.gitea/workflows/build-images.yml index 26c68b0..95e1c55 100644 --- a/.gitea/workflows/build-images.yml +++ b/.gitea/workflows/build-images.yml @@ -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"