File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 branches :
2525 - ' ozone-**'
2626
27- permissions :
28- contents : read
29- packages : write
27+ permissions : { }
3028
3129jobs :
3230 build :
3331 uses : ./.github/workflows/build.yaml
32+ permissions :
33+ contents : read
34+ packages : write
3435
3536 tag :
3637 needs : build
3940 DOCKERHUB_USER : ${{ secrets.DOCKERHUB_USER }}
4041 IMAGE_ID : ${{ needs.build.outputs.image-id }}
4142 REGISTRIES : ghcr.io # docker.io is appended dynamically
43+ permissions :
44+ contents : read
45+ packages : write
4246 steps :
4347 - name : Generate tags
4448 uses : docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6.0.0
Original file line number Diff line number Diff line change @@ -35,16 +35,17 @@ concurrency:
3535 group : ${{ github.sha }}
3636 cancel-in-progress : false
3737
38- permissions :
39- contents : read
40- packages : write
41-
4238env :
4339 OZONE_RUNNER_IMAGE : ghcr.io/apache/ozone-runner
4440
41+ permissions : { }
42+
4543jobs :
4644 build :
4745 runs-on : ubuntu-latest
46+ permissions :
47+ contents : read
48+ packages : write
4849 outputs :
4950 image-id : ${{ steps.meta.outputs.tags }}
5051 steps :
You can’t perform that action at this time.
0 commit comments