From 163feb2fb7c9cf06f813d3919b82c6a78dd22c52 Mon Sep 17 00:00:00 2001 From: Antheas Kapenekakis <5252246+antheas@users.noreply.github.com> Date: Thu, 31 Oct 2024 20:16:46 +0100 Subject: [PATCH] fix: give up and revert to root again (#1834) --- .github/workflows/build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0e80ffbf59..48b8aa6ac9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -388,10 +388,9 @@ jobs: attempt_limit: 3 attempt_delay: 15000 command: | - echo "${{ secrets.GITHUB_TOKEN }}" | podman login ghcr.io -u ${{ github.actor }} --password-stdin - sudo chmod 666 -R ${{ steps.rechunk.outputs.location }} + echo "${{ secrets.GITHUB_TOKEN }}" | sudo podman login ghcr.io -u ${{ github.actor }} --password-stdin for tag in ${{ steps.generate-tags.outputs.alias_tags }}; do - skopeo copy ${{ steps.rechunk.outputs.ref }} docker://${{ steps.registry_case.outputs.lowercase }}/${{ env.IMAGE_NAME }}:$tag + sudo skopeo copy ${{ steps.rechunk.outputs.ref }} docker://${{ steps.registry_case.outputs.lowercase }}/${{ env.IMAGE_NAME }}:$tag done - name: Sign container image