Update .gitea/workflows/build.yml
All checks were successful
Helm Chart Build / lint-only (push) Has been skipped
Helm Chart Build / build-helm (push) Successful in 9s
Build and Deploy / build-web (push) Successful in 29s
Build and Deploy / build-api (push) Successful in 27s

This commit is contained in:
2025-10-06 19:21:51 +02:00
parent a9bcc71a72
commit b926845dbf

View File

@@ -18,7 +18,6 @@ jobs:
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
- name: Log in to Container Registry - name: Log in to Container Registry
if: github.event_name == 'push'
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ${{ vars.PACKAGES_REGISTRY || gitea.server_url }} registry: ${{ vars.PACKAGES_REGISTRY || gitea.server_url }}
@@ -36,7 +35,6 @@ jobs:
with: with:
context: ./web context: ./web
file: ./web/Dockerfile file: ./web/Dockerfile
push: ${{ github.event_name == 'push' }}
tags: ${{ steps.meta-web.outputs.tags }} tags: ${{ steps.meta-web.outputs.tags }}
labels: ${{ steps.meta-web.outputs.labels }} labels: ${{ steps.meta-web.outputs.labels }}
cache-from: type=registry,ref=${{ vars.PACKAGES_REGISTRY || gitea.server_url }}/${{ gitea.repository }}/web:buildcache cache-from: type=registry,ref=${{ vars.PACKAGES_REGISTRY || gitea.server_url }}/${{ gitea.repository }}/web:buildcache
@@ -52,7 +50,6 @@ jobs:
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
- name: Log in to Container Registry - name: Log in to Container Registry
if: github.event_name == 'push'
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ${{ vars.PACKAGES_REGISTRY || gitea.server_url }} registry: ${{ vars.PACKAGES_REGISTRY || gitea.server_url }}
@@ -70,7 +67,6 @@ jobs:
with: with:
context: ./api context: ./api
file: ./api/Dockerfile file: ./api/Dockerfile
push: ${{ github.event_name == 'push' }}
tags: ${{ steps.meta-api.outputs.tags }} tags: ${{ steps.meta-api.outputs.tags }}
labels: ${{ steps.meta-api.outputs.labels }} labels: ${{ steps.meta-api.outputs.labels }}
cache-from: type=registry,ref=${{ vars.PACKAGES_REGISTRY || gitea.server_url }}/${{ gitea.repository }}/api:buildcache cache-from: type=registry,ref=${{ vars.PACKAGES_REGISTRY || gitea.server_url }}/${{ gitea.repository }}/api:buildcache