From 25a0ce6e34224092221f22e7b22028c7d0fa6028 Mon Sep 17 00:00:00 2001 From: Luka Skugor Date: Wed, 17 Jul 2024 14:45:28 +0200 Subject: [PATCH] Update docker images automatically only from main (#639) Co-authored-by: Luka Skugor Co-authored-by: sa-github-api <138766536+sa-github-api@users.noreply.github.com> --- .github/workflows/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index e56114297..c5edcd0f0 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -125,7 +125,7 @@ jobs: # Update k8s deployments ######################################## - name: "🤖 Update k8s deployments" - if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.head_ref, 'container') || startsWith(github.ref, 'refs/heads/container') || (github.ref == 'refs/heads/main') }} + if: ${{ github.ref == 'refs/heads/main' }} uses: ./.github/workflows/update-k8s-deployments with: gitlab_api_token: ${{ secrets.GITLAB_K8S_API_TOKEN }}