try wth github.repository_owner
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user