From 3e197718264daad6ad77d8a2c4585c7a69ee96f5 Mon Sep 17 00:00:00 2001 From: bhuridech Date: Sun, 24 Mar 2024 12:04:39 +0700 Subject: [PATCH] get prod docker tag --- .github/workflows/prod-cd.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/prod-cd.yaml b/.github/workflows/prod-cd.yaml index f8e5bb5..f572679 100644 --- a/.github/workflows/prod-cd.yaml +++ b/.github/workflows/prod-cd.yaml @@ -40,7 +40,7 @@ jobs: - name: change image tag run: | - sed -i -E "s/ghcr.io\/kbtg-kampus-classnest-se-java\/workshop-group-2.*$/ghcr.io\/kbtg-kampus-classnest-se-java\/workshop-group-2:${GITHUB_SHA}/" infra/gitops/prod/deployment.yml + sed -i -E "s/ghcr.io\/kbtg-kampus-classnest-se-java\/workshop-group-2.*$/ghcr.io\/kbtg-kampus-classnest-se-java\/workshop-group-2:${{ inputs.deploy-tag }}/" infra/gitops/prod/deployment.yml git add infra/gitops/prod/deployment.yml git commit -m "[skip actions] 🤖 change prd docker image version to ${{ inputs.deploy-tag }}" git pull --rebase