diff --git a/.github/workflows/prod-cd.yaml b/.github/workflows/prod-cd.yaml index cd5f5a0..c31b2b5 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-5.*$/ghcr.io\/kbtg-kampus-classnest-se-java\/workshop-group-5:${GITHUB_SHA}/" infra/gitops/prod/deployment.yml + sed -i -E "s/ghcr.io\/kbtg-kampus-classnest-se-java\/workshop-group-5.*$/ghcr.io\/kbtg-kampus-classnest-se-java\/workshop-group-5:${{ 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