build: build less images
Some checks failed
Build and Publish Docker Images / build-and-push (backend) (push) Failing after 16s
Build and Publish Docker Images / build-and-push (frontend) (push) Failing after 16s

This commit is contained in:
2025-09-04 06:05:09 +02:00
parent f1ba5d8f44
commit 1e6cb5c212

View File

@@ -38,13 +38,13 @@ jobs:
with: with:
images: ${{ env.REGISTRY }}/${{ secrets.REGISTRY_USERNAME }}/${{ env.NAMESPACE }}/${{ matrix.service }} images: ${{ env.REGISTRY }}/${{ secrets.REGISTRY_USERNAME }}/${{ env.NAMESPACE }}/${{ matrix.service }}
tags: | tags: |
type=ref,event=branch type=ref,event=branch,enable={{!is_default_branch}}
type=ref,event=pr # type=ref,event=pr
type=ref,event=tag type=ref,event=tag
type=raw,value=latest,enable={{is_default_branch}} type=raw,value=latest,enable={{is_default_branch}}
type=sha,prefix={{branch}}-,suffix=-{{date 'YYYYMMDD-HHmmss'}},enable={{is_default_branch}} # type=sha,prefix={{branch}}-,suffix=-{{date 'YYYYMMDD-HHmmss'}},enable={{is_default_branch}}
labels: | labels: |
org.opencontainers.image.source=${{ env.REGISTRY }}/${{ secrets.REGISTRY_USERNAME }}/${{ env.NAMESPACE }} org.opencontainers.image.source=https://${{ env.REGISTRY }}/${{ secrets.REGISTRY_USERNAME }}/${{ env.NAMESPACE }}
- name: Build and push Docker image - name: Build and push Docker image
id: build id: build