fix(pipeline): Update push secrets, remove frontend caching

This commit is contained in:
2025-11-15 09:15:08 +01:00
parent 6ee4bebf07
commit c8fcffb9ed
2 changed files with 3 additions and 5 deletions

View File

@@ -81,7 +81,7 @@ jobs:
with: with:
registry: gitea.lugnas.de registry: gitea.lugnas.de
username: ${{ gitea.actor }} username: ${{ gitea.actor }}
password: ${{ gitea.token }} password: ${{ secrets.DOCKER_PUSH_TOKEN }}
- name: Extract metadata for Docker - name: Extract metadata for Docker
id: meta id: meta

View File

@@ -19,7 +19,7 @@ jobs:
defaults: defaults:
run: run:
working-directory: ./legalconsenthub working-directory: ./legalconsenthub
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -75,7 +75,7 @@ jobs:
with: with:
registry: gitea.lugnas.de registry: gitea.lugnas.de
username: ${{ gitea.actor }} username: ${{ gitea.actor }}
password: ${{ gitea.token }} password: ${{ secrets.DOCKER_PUSH_TOKEN }}
- name: Extract metadata for Docker - name: Extract metadata for Docker
id: meta id: meta
@@ -93,8 +93,6 @@ jobs:
push: ${{ gitea.event_name == 'push' && gitea.ref == 'refs/heads/main' }} push: ${{ gitea.event_name == 'push' && gitea.ref == 'refs/heads/main' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Image built successfully - name: Image built successfully
if: gitea.event_name == 'push' && gitea.ref == 'refs/heads/main' if: gitea.event_name == 'push' && gitea.ref == 'refs/heads/main'