File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 steps :
2424 - name : Checkout repository
2525 uses : actions/checkout@v5
26+ with :
27+ token : ${{ secrets.TOKEN }}
28+
2629 - name : Log in to the Container registry
2730 uses : docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
2831 with :
@@ -42,17 +45,20 @@ jobs:
4245 push : true
4346 tags : ${{ steps.meta.outputs.tags }}
4447 labels : ${{ steps.meta.outputs.labels }}
45- - name : Update tag in values.yaml
48+ - name : install yq and setup git
4649 run : |
4750 pip install yq
48- yq e -i '.image.tag = "${{ steps.push.outputs.digest }}"' values.yaml
4951
5052 git config --global user.name "github-actions[bot]"
5153 git config --global user.email "username@users.noreply.github.com"
54+ - name : Update tag in values.yaml
55+ run : |
56+
57+ python -m yq -Y --indentless --in-place '.image.tag = "${{ steps.push.outputs.digest }}"' values.yml
5258
53- git add values.yaml
59+ git add values.yml
5460 git commit -m "Update image tag to ${{ steps.push.outputs.digest }}"
55- git push
61+ git push origin main
5662
5763 - name : Generate artifact attestation
5864 uses : actions/attest-build-provenance@v3
Original file line number Diff line number Diff line change 11replicaCount : 1
22name : nanoforge-docs
33image :
4- repository : " ghcr.io/nanoforge-dev/docs"
5- tag : " main "
6- imagePullSecret : " nanoforge-docker-token"
4+ repository : ghcr.io/nanoforge-dev/docs
5+ tag : sha256:7c45e4bcc7ba3913c12aca1d0c4556b3c9a4a001460a93795d109f5fbadfda04
6+ imagePullSecret : nanoforge-docker-token
77routes :
88 - port : 80
9- match : " Host(`docs.nanoforge.eu`)"
9+ match : Host(`docs.nanoforge.eu`)
You can’t perform that action at this time.
0 commit comments