fix: update workflow to use 'main' branch instead of 'master'

This commit is contained in:
2025-08-25 17:27:18 +02:00
parent 922f3669d1
commit 0f7ece4886

View File

@@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- master
- main
env:
REGISTRY: ghcr.io
@@ -43,7 +43,7 @@ jobs:
context: ./frontend
file: ./frontend/Dockerfile
push: true
# Always push the normal tags; if this is a master push,
# Always push the normal tags; if this is a main push,
# prepend "latest" to the list.
tags: ${{ github.ref == 'refs/heads/master' && format('{0},latest', steps.meta.outputs.tags) || steps.meta.outputs.tags }}
tags: ${{ github.ref == 'refs/heads/main' && format('{0},latest', steps.meta.outputs.tags) || steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}