.gitea/workflows/build.yml aktualisiert
This commit is contained in:
@@ -95,9 +95,13 @@ jobs:
|
||||
context: .
|
||||
file: ./Containerfile
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
no-cache: true
|
||||
tags: ${{ steps.metadata.outputs.tags }}
|
||||
labels: ${{ steps.metadata.outputs.labels }}
|
||||
# 1. Build-Cache aus der Registry laden & schreiben
|
||||
cache-from: type=registry,ref=${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache
|
||||
cache-to: type=registry,ref=${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache,mode=max
|
||||
# 2. OCI-Format & Zstd-Kompression für zstd:chunked Range-Requests aktivieren
|
||||
outputs: type=registry,push=true,oci-mediatypes=true,compression=zstd
|
||||
|
||||
- name: Install envsubst dependencies
|
||||
if: github.event_name != 'pull_request' && env.IS_TEST_BUILD == 'false'
|
||||
|
||||
Reference in New Issue
Block a user