From 8a4e9862fea81d09f6c4b1c0029d0f0cb4fc16bb Mon Sep 17 00:00:00 2001 From: Pranav Gaikwad Date: Mon, 8 Jul 2024 16:09:06 -0400 Subject: [PATCH] :ghost: Revert "Revert ":seedling: add tag to image-build environment"" (#641) Reverts konveyor/analyzer-lsp#636 --- .github/workflows/image-build.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/image-build.yaml b/.github/workflows/image-build.yaml index 5f7fc119..be2266b5 100644 --- a/.github/workflows/image-build.yaml +++ b/.github/workflows/image-build.yaml @@ -13,6 +13,9 @@ concurrency: group: build-${{ github.ref }} cancel-in-progress: true +env: + tag: ${{ github.ref == 'refs/heads/main' && 'latest' || github.ref_name }} + jobs: image-build: strategy: