diff --git a/.github/workflows/postgres.yml b/.github/workflows/postgres.yml index 4b6c93f..5adfe04 100644 --- a/.github/workflows/postgres.yml +++ b/.github/workflows/postgres.yml @@ -13,7 +13,7 @@ on: - "v*" env: - MINOR_VERSIONS: '{"15": "10","17": "2"}' + MINOR_VERSIONS: '{"15": "12","17": "4"}' jobs: build: @@ -63,6 +63,11 @@ jobs: username: ${{ secrets.HARBOR_USER }} password: ${{ secrets.HARBOR_TOKEN }} + - name: Install skopeo + run: | + apt-get update + apt-get install -y skopeo + - name: Create manifest run: | docker buildx imagetools create \ @@ -70,3 +75,6 @@ jobs: -t registry.icb4dc0.de/supabase-operator/postgres:${{ matrix.postgres_major }}.${{ fromJSON(env.MINOR_VERSIONS)[matrix.postgres_major] }}.${{ github.run_number }} \ registry.icb4dc0.de/supabase-operator/postgres:${{ matrix.postgres_major }}.${{ fromJSON(env.MINOR_VERSIONS)[matrix.postgres_major] }}.${{ github.run_number }}-arm64 \ registry.icb4dc0.de/supabase-operator/postgres:${{ matrix.postgres_major }}.${{ fromJSON(env.MINOR_VERSIONS)[matrix.postgres_major] }}.${{ github.run_number }}-amd64 + + skopeo delete registry.icb4dc0.de/supabase-operator/postgres:${{ matrix.postgres_major }}.${{ fromJSON(env.MINOR_VERSIONS)[matrix.postgres_major] }}.${{ github.run_number }}-arm64 + skopeo delete registry.icb4dc0.de/supabase-operator/postgres:${{ matrix.postgres_major }}.${{ fromJSON(env.MINOR_VERSIONS)[matrix.postgres_major] }}.${{ github.run_number }}-amd64