From b47934155b06991e44f650a60df1a37fc50e96cc Mon Sep 17 00:00:00 2001 From: Florian Wilhelm <2292245+fwilhe@users.noreply.github.com> Date: Tue, 19 Dec 2023 12:27:44 +0000 Subject: [PATCH 1/3] fix release issues --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 76605d6..0cd0b19 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: podman manifest create ghcr.io/${{ github.repository }}:${{ steps.bump.outputs.newVersion }} podman manifest add ghcr.io/${{ github.repository }}:${{ steps.bump.outputs.newVersion }} ghcr.io/${{ github.repository }}:amd64-"$SHA" podman manifest add ghcr.io/${{ github.repository }}:${{ steps.bump.outputs.newVersion }} ghcr.io/${{ github.repository }}:arm64-"$SHA" - podman manifest push ghcr.io/${{ github.repository }}:${{ steps.bump.outputs.newVersion }} + podman push ghcr.io/${{ github.repository }}:${{ steps.bump.outputs.newVersion }} sed -i 's|container_image=localhost/builder|container_image=ghcr.io/${{ github.repository }}:${{ steps.bump.outputs.newVersion }}|' build - name: git tag run: | @@ -40,4 +40,4 @@ jobs: - name: create release (new version) run: | release="$(.github/workflows/release.sh ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} create ${{ steps.bump.outputs.newVersion }} "Builder (${{ steps.bump.outputs.newVersion }})")" - .github/workflows/release.sh ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} upload "$release" download/build + .github/workflows/release.sh ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} upload "$release" build From 2adcb0239b8473725b57701b55690787605802ca Mon Sep 17 00:00:00 2001 From: Florian Wilhelm <2292245+fwilhe@users.noreply.github.com> Date: Tue, 19 Dec 2023 13:01:24 +0000 Subject: [PATCH 2/3] set -x --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0cd0b19..6184995 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,7 @@ jobs: run: | SHA=$(git rev-parse HEAD) podman login -u token -p ${{ github.token }} ghcr.io + set -x podman pull ghcr.io/${{ github.repository }}:amd64-"$SHA" podman pull ghcr.io/${{ github.repository }}:arm64-"$SHA" podman manifest create ghcr.io/${{ github.repository }}:${{ steps.bump.outputs.newVersion }} From 2cceb2137f6992b8af256453c028883f92bf100a Mon Sep 17 00:00:00 2001 From: Florian Wilhelm <2292245+fwilhe@users.noreply.github.com> Date: Tue, 19 Dec 2023 13:53:46 +0000 Subject: [PATCH 3/3] no set -x --- .github/workflows/release.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6184995..0cd0b19 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,6 @@ jobs: run: | SHA=$(git rev-parse HEAD) podman login -u token -p ${{ github.token }} ghcr.io - set -x podman pull ghcr.io/${{ github.repository }}:amd64-"$SHA" podman pull ghcr.io/${{ github.repository }}:arm64-"$SHA" podman manifest create ghcr.io/${{ github.repository }}:${{ steps.bump.outputs.newVersion }}