From 383629091ac7e5687dc4ff2d920ad136e55dcc37 Mon Sep 17 00:00:00 2001 From: Enrico Deusebio Date: Thu, 20 Jun 2024 11:27:57 +0200 Subject: [PATCH 1/5] change skopeo pointer --- .github/workflows/publish.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 7da9d4c..24d5bc9 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -58,10 +58,6 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - - name: Install skopeo - run: | - sudo snap install --devmode --channel edge skopeo - - name: Install yq run: | sudo snap install yq @@ -84,11 +80,11 @@ jobs: TRACK=${{ needs.release_checks.outputs.track }} if [ ! -z "$RISK" ] && [ "${RISK}" != "no-risk" ]; then TAG=${TRACK}_${RISK}; else TAG=${TRACK}; fi - IMAGE_NAME="ghcr.io/canonical/charmed-karapace" + IMAGE_NAME="ghcr.io/deusebio/charmed-karapace" ROCK_FILE=${{ needs.build.outputs.rock }} - sudo skopeo --insecure-policy copy \ + sudo rockcraft.skopeo --insecure-policy copy \ oci-archive:${ROCK_FILE} \ docker-daemon:${IMAGE_NAME}:${TAG} From dc6eb1262f77b5db1be6fb37d9c1876d1acb1257 Mon Sep 17 00:00:00 2001 From: Enrico Deusebio Date: Thu, 20 Jun 2024 11:32:32 +0200 Subject: [PATCH 2/5] dummy commit --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2e28576..8f0b615 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ + # Charmed Karapace ROCK [![Container Registry](https://img.shields.io/badge/Container%20Registry-published-blue)](https://github.com/canonical/charmed-karapace-rock/pkgs/container/charmed-karapace) From 11d8cc79ee17d6bb56e1d28c11d6878dc0bfdb3c Mon Sep 17 00:00:00 2001 From: Enrico Deusebio Date: Thu, 20 Jun 2024 11:41:48 +0200 Subject: [PATCH 3/5] adding rockcraft --- .github/workflows/publish.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 24d5bc9..56a415c 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -58,9 +58,10 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - - name: Install yq + - name: Install dependencies run: | sudo snap install yq + sudo snap install rockcraft --classic --edge - uses: actions/download-artifact@v3 with: From 4f35a8bb3b01a480176ac6238dd3da2d846d23f6 Mon Sep 17 00:00:00 2001 From: Enrico Deusebio Date: Thu, 20 Jun 2024 11:53:58 +0200 Subject: [PATCH 4/5] revert dummy change --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 8f0b615..2e28576 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ - # Charmed Karapace ROCK [![Container Registry](https://img.shields.io/badge/Container%20Registry-published-blue)](https://github.com/canonical/charmed-karapace-rock/pkgs/container/charmed-karapace) From 6692429e0541455d1b3543ffc1007d5644bc4e07 Mon Sep 17 00:00:00 2001 From: Enrico Deusebio Date: Thu, 20 Jun 2024 12:59:42 +0200 Subject: [PATCH 5/5] change the package repo --- .github/workflows/publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 56a415c..ee836a7 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -81,7 +81,7 @@ jobs: TRACK=${{ needs.release_checks.outputs.track }} if [ ! -z "$RISK" ] && [ "${RISK}" != "no-risk" ]; then TAG=${TRACK}_${RISK}; else TAG=${TRACK}; fi - IMAGE_NAME="ghcr.io/deusebio/charmed-karapace" + IMAGE_NAME="ghcr.io/canonical/charmed-karapace" ROCK_FILE=${{ needs.build.outputs.rock }}