From dcfb455a54e470c6420070d8518664e95f6af019 Mon Sep 17 00:00:00 2001 From: Pranav Gaikwad Date: Fri, 5 Jul 2024 14:15:45 -0400 Subject: [PATCH] Revert "Revert ":seedling: standardize windows image tags" (#637)" This reverts commit 20b800a93ef08029dce8e016551fcf726b5cabb2. --- .github/workflows/image-build.yaml | 49 ++++++++++++++++++++++++++++-- 1 file changed, 47 insertions(+), 2 deletions(-) diff --git a/.github/workflows/image-build.yaml b/.github/workflows/image-build.yaml index 5f7fc119..5aefe827 100644 --- a/.github/workflows/image-build.yaml +++ b/.github/workflows/image-build.yaml @@ -91,7 +91,7 @@ jobs: shell: bash run: | TAG=${GITHUB_REF_NAME/main/latest} - IMAGE_NAME=quay.io/konveyor/analyzer-lsp:${TAG}-ltsc2022 + IMAGE_NAME=quay.io/konveyor/analyzer-lsp:${TAG}-windowsservercore-ltsc2022 docker build -t ${IMAGE_NAME} -f ./Dockerfile.windows . docker push ${IMAGE_NAME} @@ -111,6 +111,51 @@ jobs: shell: bash run: | TAG=${GITHUB_REF_NAME/main/latest} - IMAGE_NAME=quay.io/konveyor/dotnet-external-provider:${TAG}-ltsc2022 + IMAGE_NAME=quay.io/konveyor/dotnet-external-provider:${TAG}-windowsservercore-ltsc2022 docker build -t ${IMAGE_NAME} -f ./external-providers/dotnet-external-provider/Dockerfile.windows . docker push ${IMAGE_NAME} + + update-analyzer-manifest: + needs: + - image-build + - analyzer-windows-build + runs-on: ubuntu-latest + steps: + - name: update manifest + run: | + podman manifest create temp + podman manifest add temp --all quay.io/konveyor/analyzer-lsp:${tag} + podman manifest add temp --all quay.io/konveyor/analyzer-lsp:${tag}-windowsservercore-ltsc2022 + podman tag temp quay.io/konveyor/analyzer-lsp:${tag} + - name: Push manifest to Quay + uses: redhat-actions/push-to-registry@main + id: push + with: + image: konveyor/analyzer-lsp + tags: ${{ env.tag }} + username: ${{ secrets.QUAY_PUBLISH_ROBOT }} + password: ${{ secrets.QUAY_PUBLISH_TOKEN }} + registry: quay.io + + + update-dotnet-manifest: + needs: + - image-build + - dotnet-windows-build + runs-on: ubuntu-latest + steps: + - name: update manifest + run: | + podman manifest create temp + podman manifest add temp --all quay.io/konveyor/dotnet-external-provider:${tag} + podman manifest add temp --all quay.io/konveyor/dotnet-external-provider:${tag}-windowsservercore-ltsc2022 + podman tag temp quay.io/konveyor/dotnet-external-provider:${tag} + - name: Push manifest to Quay + uses: redhat-actions/push-to-registry@main + id: push + with: + image: konveyor/dotnet-external-provider + tags: ${{ env.tag }} + username: ${{ secrets.QUAY_PUBLISH_ROBOT }} + password: ${{ secrets.QUAY_PUBLISH_TOKEN }} + registry: quay.io