File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 types :
1111 - published
1212
13+ permissions :
14+ contents : read
15+ packages : write
16+
1317jobs :
1418 build :
1519 runs-on : ubuntu-latest
1620
1721 steps :
1822 - name : Checkout code
19- uses : actions/checkout@v2
23+ uses : actions/checkout@v4
2024
2125 - name : Login to GitHub Container Registry
22- uses : docker/login-action@v2
26+ uses : docker/login-action@v3
2327 with :
2428 registry : ghcr.io
25- username : ${{ github.repository_owner }}
29+ username : ${{ github.actor }}
2630 password : ${{ secrets.GITHUB_TOKEN }}
2731
2832 - name : Set up Docker Buildx
29- uses : docker/setup-buildx-action@v1
33+ uses : docker/setup-buildx-action@v4
34+ with :
35+ driver : docker
3036
3137 - name : Determine compose-runner version
3238 id : get_version
4349 echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
4450
4551 - name : Build and push Docker image
46- uses : docker/build-push-action@v2
52+ uses : docker/build-push-action@v7
4753 with :
4854 context : .
4955 push : true
You can’t perform that action at this time.
0 commit comments