fix(pipeline): Delete caching statements for backend pipeline

This commit is contained in:
2025-11-15 08:54:59 +01:00
parent ab0d262b6f
commit 6ee4bebf07

View File

@@ -16,7 +16,7 @@ on:
jobs: jobs:
build-and-test: build-and-test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
services: services:
postgres: postgres:
image: postgres:16-alpine image: postgres:16-alpine
@@ -29,11 +29,11 @@ jobs:
--health-interval 10s --health-interval 10s
--health-timeout 5s --health-timeout 5s
--health-retries 5 --health-retries 5
defaults: defaults:
run: run:
working-directory: ./legalconsenthub-backend working-directory: ./legalconsenthub-backend
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -99,8 +99,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'