77 name : Create Github release
88 runs-on : ubuntu-latest
99 if : startsWith(github.event.ref, 'refs/tags/v')
10+ permissions :
11+ contents : write
1012
1113 steps :
1214 - name : Checkout
13- uses : actions/checkout@v3
15+ uses : actions/checkout@v6
1416
1517 - name : Release
16- uses : softprops/action-gh-release@v1
18+ uses : softprops/action-gh-release@v2
1719 with :
1820 body_path : RELEASE.md
1921 generate_release_notes : true
@@ -24,33 +26,34 @@ jobs:
2426
2527 runs-on : ubuntu-latest
2628 permissions :
29+ contents : read
2730 packages : write
2831
2932 steps :
3033 - name : Checkout repo
31- uses : actions/checkout@v3
34+ uses : actions/checkout@v6
3235
3336 - name : Set up QEMU
34- uses : docker/setup-qemu-action@v2
37+ uses : docker/setup-qemu-action@v4
3538
3639 - name : Set up Docker Buildx
37- uses : docker/setup-buildx-action@v2
40+ uses : docker/setup-buildx-action@v4
3841
3942 - name : Login to ghcr.io
40- uses : docker/login-action@v2
43+ uses : docker/login-action@v4
4144 with :
4245 registry : ghcr.io
4346 username : ${{ github.actor }}
4447 password : ${{ secrets.GITHUB_TOKEN }}
4548
4649 - name : Extract metadata (tags, labels) for Docker
4750 id : meta
48- uses : docker/metadata-action@v4
51+ uses : docker/metadata-action@v6
4952 with :
5053 images : ghcr.io/tool-spec/tbr_template_python
5154
5255 - name : Build and push
53- uses : docker/build-push-action@v3
56+ uses : docker/build-push-action@v7
5457 with :
5558 context : .
5659 push : true
0 commit comments