Only push on tags
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 5m30s
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 5m30s
This commit is contained in:
parent
bb19802f40
commit
2fe4d670f7
|
@ -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" \
|
||||
|
|
Loading…
Reference in New Issue
Block a user