File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 11name : Docker Pub
22
3- on : workflow_dispatch
3+ on :
4+ workflow_dispatch :
5+ schedule :
6+ - cron : " 0 0 * * *"
47
58jobs :
69 build :
1013 contents : read
1114 packages : write
1215 attestations : write
16+ id-token : write
17+
1318 steps :
1419 - name : Checkout the repository
1520 uses : actions/checkout@v4
21+
22+ - name : Get current date
23+ id : date
24+ run : echo "::set-output name=date::$(date +'%Y%m%d')"
1625
1726 - name : Set up QEMU
1827 uses : docker/setup-qemu-action@v3
2736 password : ${{ secrets.GH_TOKEN }}
2837
2938 - name : Build Meta
30- run : echo "::set-output name=dtag::ghcr.io/barelyhuman/goblin:nightly"
39+ run : echo "::set-output name=dtag::ghcr.io/barelyhuman/goblin:nightly-${{ steps.date.outputs.date }} "
3140 id : meta
3241
3342 - name : Build and push
4756 - name : Generate artifact attestation
4857 uses : actions/attest-build-provenance@v1
4958 with :
50- subject-name : ghcr.io/barelyhuman/goblin:nightly
59+ subject-name : ghcr.io/barelyhuman/goblin
5160 subject-digest : ${{ steps.push.outputs.digest }}
5261 push-to-registry : true
You can’t perform that action at this time.
0 commit comments