From ea59674431bcf450570cbe899b73ddffc8bf6694 Mon Sep 17 00:00:00 2001 From: Michael Hallock Date: Fri, 22 Oct 2021 20:00:56 -0400 Subject: [PATCH] Packages need to be created with github registry tags to pass muster --- .github/workflows/release.yml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 85c5cc6..f4deee5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -122,7 +122,7 @@ jobs: id: meta uses: docker/metadata-action@v3 with: - images: ${{ env.DOCKER_NAME }} + images: ${{ env.REGISTRY }}/${{ env.DOCKER_NAME }} tags: | type=raw,value=${{ steps.version.outputs.version-without-v }}-${{ matrix.docker-tag }} type=raw,value=latest-${{ matrix.docker-tag }} @@ -160,31 +160,31 @@ jobs: - name: Pull Docker images run: | - docker pull ${{ env.DOCKER_NAME }}:${{ steps.version.outputs.version-without-v }}-amd64 - docker pull ${{ env.DOCKER_NAME }}:${{ steps.version.outputs.version-without-v }}-arm32 - docker pull ${{ env.DOCKER_NAME }}:${{ steps.version.outputs.version-without-v }}-arm64 - docker pull ${{ env.DOCKER_NAME }}:latest-amd64 - docker pull ${{ env.DOCKER_NAME }}:latest-arm32 - docker pull ${{ env.DOCKER_NAME }}:latest-arm64 + docker pull ${{ env.REGISTRY }}/${{ env.DOCKER_NAME }}:${{ steps.version.outputs.version-without-v }}-amd64 + docker pull ${{ env.REGISTRY }}/${{ env.DOCKER_NAME }}:${{ steps.version.outputs.version-without-v }}-arm32 + docker pull ${{ env.REGISTRY }}/${{ env.DOCKER_NAME }}:${{ steps.version.outputs.version-without-v }}-arm64 + docker pull ${{ env.REGISTRY }}/${{ env.DOCKER_NAME }}:latest-amd64 + docker pull ${{ env.REGISTRY }}/${{ env.DOCKER_NAME }}:latest-arm32 + docker pull ${{ env.REGISTRY }}/${{ env.DOCKER_NAME }}:latest-arm64 - name: Build Docker latest image manifest run: | docker manifest create \ - ${{ env.DOCKER_NAME }}:${{ steps.version.outputs.version-without-v }} \ - --amend ${{ env.DOCKER_NAME }}:${{ steps.version.outputs.version-without-v }}-amd64 \ - --amend ${{ env.DOCKER_NAME }}:${{ steps.version.outputs.version-without-v }}-arm32 \ - --amend ${{ env.DOCKER_NAME }}:${{ steps.version.outputs.version-without-v }}-arm64 + ${{ env.REGISTRY }}/${{ env.DOCKER_NAME }}:${{ steps.version.outputs.version-without-v }} \ + --amend ${{ env.REGISTRY }}/${{ env.DOCKER_NAME }}:${{ steps.version.outputs.version-without-v }}-amd64 \ + --amend ${{ env.REGISTRY }}/${{ env.DOCKER_NAME }}:${{ steps.version.outputs.version-without-v }}-arm32 \ + --amend ${{ env.REGISTRY }}/${{ env.DOCKER_NAME }}:${{ steps.version.outputs.version-without-v }}-arm64 - name: Push Docker version image manifest - run: docker manifest push --purge ${{ env.DOCKER_NAME }}:${{ steps.version.outputs.version-without-v }} + run: docker manifest push --purge ${{ env.REGISTRY }}/${{ env.DOCKER_NAME }}:${{ steps.version.outputs.version-without-v }} - name: Build Docker latest image manifest run: | docker manifest create \ - ${{ env.DOCKER_NAME }}:latest \ - --amend ${{ env.DOCKER_NAME }}:latest-amd64 \ - --amend ${{ env.DOCKER_NAME }}:latest-arm32 \ - --amend ${{ env.DOCKER_NAME }}:latest-arm64 + ${{ env.REGISTRY }}/${{ env.DOCKER_NAME }}:latest \ + --amend ${{ env.REGISTRY }}/${{ env.DOCKER_NAME }}:latest-amd64 \ + --amend ${{ env.REGISTRY }}/${{ env.DOCKER_NAME }}:latest-arm32 \ + --amend ${{ env.REGISTRY }}/${{ env.DOCKER_NAME }}:latest-arm64 - name: Push Docker latest image manifest - run: docker manifest push --purge ${{ env.DOCKER_NAME }}:latest \ No newline at end of file + run: docker manifest push --purge ${{ env.REGISTRY }}/${{ env.DOCKER_NAME }}:latest \ No newline at end of file