Only push on tags
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 5m39s
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 5m39s
This commit is contained in:
@@ -71,10 +71,12 @@ jobs:
|
||||
SOURCE_DATE_EPOCH: ${{ env.TIMESTAMP }}
|
||||
|
||||
- name: Kustomize manifests
|
||||
if: gitea.ref_type == 'tag'
|
||||
run: |
|
||||
./kustomize build ./manifests | sed "s/\${DIGEST}/${{ steps.build.outputs.digest }}/" > ./manifests.yaml
|
||||
|
||||
- name: Push manifests
|
||||
if: gitea.ref_type == 'tag'
|
||||
run: |
|
||||
flux push artifact oci://$OCI_REPO/manifests:latest \
|
||||
--path="./manifests.yaml" \
|
||||
|
||||
Reference in New Issue
Block a user