Skip to content

Commit

Permalink
Update docker images automatically only from main (#639)
Browse files Browse the repository at this point in the history
Co-authored-by: Luka Skugor <[email protected]>
Co-authored-by: sa-github-api <[email protected]>
  • Loading branch information
3 people authored Jul 17, 2024
1 parent c1338d4 commit 25a0ce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 25a0ce6

Please sign in to comment.