From c2022de121ff1d35e52fb2ea4c44ce83c1cffaa9 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Tue, 30 Apr 2024 13:42:25 +0200 Subject: [PATCH] Use correct remote image name (again) --- .forgejo/workflows/atticd.yaml | 4 ++-- .forgejo/workflows/blog-pim.yaml | 4 ++-- .forgejo/workflows/forgejo-nix-action.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/atticd.yaml b/.forgejo/workflows/atticd.yaml index 3171482..7450ce4 100644 --- a/.forgejo/workflows/atticd.yaml +++ b/.forgejo/workflows/atticd.yaml @@ -20,6 +20,6 @@ jobs: run: /bin/skopeo login --tls-verify --username ${{ vars.RUNNER_USER }} --password ${{ secrets.RUNNER_TOKEN }} ${GITHUB_SERVER_URL} - name: Push image to container registry run: | - /bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_ACTOR}/atticd:latest + /bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY_OWNER}/atticd:latest gitrev=$(git --git-dir src/.git --work-tree src rev-parse HEAD) - /bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_ACTOR}/atticd:$gitrev + /bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY_OWNER}/atticd:$gitrev diff --git a/.forgejo/workflows/blog-pim.yaml b/.forgejo/workflows/blog-pim.yaml index bdae5a3..6f99c6c 100644 --- a/.forgejo/workflows/blog-pim.yaml +++ b/.forgejo/workflows/blog-pim.yaml @@ -19,6 +19,6 @@ jobs: run: /bin/skopeo login --tls-verify --username ${{ vars.RUNNER_USER }} --password ${{ secrets.RUNNER_TOKEN }} ${GITHUB_SERVER_URL} - name: Push image to container registry run: | - /bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_ACTOR}/blog-pim:latest + /bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY_OWNER}/blog-pim:latest gitrev=$(git --git-dir src/.git --work-tree src rev-parse HEAD) - /bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_ACTOR}/blog-pim:$gitrev + /bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY_OWNER}/blog-pim:$gitrev diff --git a/.forgejo/workflows/forgejo-nix-action.yaml b/.forgejo/workflows/forgejo-nix-action.yaml index 7a85078..a4a5785 100644 --- a/.forgejo/workflows/forgejo-nix-action.yaml +++ b/.forgejo/workflows/forgejo-nix-action.yaml @@ -19,6 +19,6 @@ jobs: run: /bin/skopeo login --tls-verify --username ${{ vars.RUNNER_USER }} --password ${{ secrets.RUNNER_TOKEN }} ${GITHUB_SERVER_URL} - name: Push image to container registry run: | - /bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_ACTOR}/forgejo-nix-action:latest + /bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY_OWNER}/forgejo-nix-action:latest gitrev=$(git --git-dir src/.git --work-tree src rev-parse HEAD) - /bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_ACTOR}/forgejo-nix-action:$gitrev + /bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY_OWNER}/forgejo-nix-action:$gitrev