Simplified build
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 5m30s

This commit is contained in:
Dreaded_X 2025-04-17 11:54:55 +02:00
parent bcf4d41785
commit bb19802f40
Signed by: Dreaded_X
GPG Key ID: 5A0CBFE3C3377FAA

View File

@ -55,21 +55,9 @@ jobs:
type=semver,pattern=v{{major}}.{{minor}}
type=semver,pattern=v{{major}}
- name: Build and export to docker
- name: Build container
id: build
uses: docker/build-push-action@v6
with:
context: .
load: true
annotations: ${{ steps.meta.outputs.annotations }}
cache-from: type=gha
cache-to: type=gha,mode=max
env:
SOURCE_DATE_EPOCH: ${{ env.TIMESTAMP }}
- name: Push container
uses: docker/build-push-action@v6
id: push
with:
context: .
push: true
@ -77,12 +65,14 @@ jobs:
provenance: mode=max
tags: ${{ steps.meta.outputs.tags }}
annotations: ${{ steps.meta.outputs.annotations }}
cache-from: type=gha
cache-to: type=gha,mode=max
env:
SOURCE_DATE_EPOCH: ${{ env.TIMESTAMP }}
- name: Kustomize manifests
run: |
./kustomize build ./manifests | sed "s/\${DIGEST}/${{ steps.push.outputs.digest }}/" > ./manifests.yaml
./kustomize build ./manifests | sed "s/\${DIGEST}/${{ steps.build.outputs.digest }}/" > ./manifests.yaml
- name: Push manifests
run: |