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:
parent
bb19802f40
commit
68df9af0da
|
@ -71,10 +71,12 @@ jobs:
|
||||||
SOURCE_DATE_EPOCH: ${{ env.TIMESTAMP }}
|
SOURCE_DATE_EPOCH: ${{ env.TIMESTAMP }}
|
||||||
|
|
||||||
- name: Kustomize manifests
|
- name: Kustomize manifests
|
||||||
|
if: gitea.ref_type == 'tag'
|
||||||
run: |
|
run: |
|
||||||
./kustomize build ./manifests | sed "s/\${DIGEST}/${{ steps.build.outputs.digest }}/" > ./manifests.yaml
|
./kustomize build ./manifests | sed "s/\${DIGEST}/${{ steps.build.outputs.digest }}/" > ./manifests.yaml
|
||||||
|
|
||||||
- name: Push manifests
|
- name: Push manifests
|
||||||
|
if: gitea.ref_type == 'tag'
|
||||||
run: |
|
run: |
|
||||||
flux push artifact oci://$OCI_REPO/manifests:latest \
|
flux push artifact oci://$OCI_REPO/manifests:latest \
|
||||||
--path="./manifests.yaml" \
|
--path="./manifests.yaml" \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user