From 064da45e7052749f5ddad7d31b3f2ad17948ffcc Mon Sep 17 00:00:00 2001 From: Pranav Gaikwad Date: Mon, 8 Jul 2024 16:09:32 -0400 Subject: [PATCH] :ghost: Revert "Revert ":seedling: standardize windows image tags"" (#642) Reverts konveyor/analyzer-lsp#637 --- .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 be2266b5..24eb9dea 100644 --- a/.github/workflows/image-build.yaml +++ b/.github/workflows/image-build.yaml @@ -94,7 +94,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} @@ -114,6 +114,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