From 2c23ab3ab9458178be90573c34872dcfdc0b26a2 Mon Sep 17 00:00:00 2001 From: Ezra Khairan Permana Date: Sun, 21 Jul 2024 10:17:32 +0700 Subject: [PATCH] fix: hanya push tag saja --- .github/workflows/build-docker.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 4cc26f1..390de55 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -4,8 +4,6 @@ on: push: tags: - "v[0-9]+.[0-9]+.[0-9]+" - branches: - - main jobs: changes: @@ -149,10 +147,10 @@ jobs: - name: Rename version env: - WEB_UPDATE: ${{ needs.web.result }} - PROCESSOR_UPDATE: ${{ needs.processor.result }} - ATTENDANCE_UPDATE: ${{ needs.client-attendance.result }} - CHOOSER_UPDATE: ${{ needs.client-chooser.result }} + WEB_UPDATE: ${{ needs.web.result }} + PROCESSOR_UPDATE: ${{ needs.processor.result }} + ATTENDANCE_UPDATE: ${{ needs.client-attendance.result }} + CHOOSER_UPDATE: ${{ needs.client-chooser.result }} REF_NAME: ${{ github.ref_name }} run: | echo "WEB_UPDATE: $WEB_UPDATE" @@ -180,5 +178,5 @@ jobs: run: | git commit -am "bot-update: update $REF_NAME" -m "Cek commit -> https://github.com/sora-vp/baseline/commit/$GITHUB_SHA" - - name: Push 🚀 - run: git push origin main + - name: Push 🚀 + run: git push origin main