File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 build :
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v4
11+ # Action: https://github.com/actions/checkout/releases/tag/v4.2.2
12+ - name : Check out the repo
13+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
14+
1215 - name : Build the Docker image
1316 run : docker build . --file Dockerfile
Original file line number Diff line number Diff line change 99 name : Push Docker image to Docker Hub
1010 runs-on : ubuntu-latest
1111 steps :
12+ # Action: https://github.com/actions/checkout/releases/tag/v4.2.2
1213 - name : Check out the repo
13- uses : actions/checkout@v4
14+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1415
16+ # Action: https://github.com/docker/login-action/releases/tag/v3.4.0
1517 - name : Log in to Docker Hub
16- uses : docker/login-action@v2
18+ uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772
1719 with :
1820 username : ${{ secrets.DOCKER_USERNAME }}
1921 password : ${{ secrets.DOCKER_TOKEN }}
2022
23+ # Action: https://github.com/docker/metadata-action/releases/tag/v5.7.0
2124 - name : Extract metadata (tags, labels) for Docker
2225 id : meta
23- uses : docker/metadata-action@v4
26+ uses : docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804
2427 with :
2528 images : junobuild/action
2629 tags : |
2730 type=semver,pattern={{major}}
2831 type=semver,pattern={{version}}
2932
30- - name : Build and push Docker image
31- uses : docker/build-push-action@v3
33+ # Action: https://github.com/docker/build-push-action/releases/tag/v6.18.0
34+ - name : Build and push
35+ uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83
3236 with :
3337 context : .
3438 file : ./Dockerfile
Original file line number Diff line number Diff line change 88 build :
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v4
11+ # Action: https://github.com/actions/checkout/releases/tag/v4.2.2
12+ - name : Check out the repo
13+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1214
15+ # Action: https://github.com/docker/setup-buildx-action/releases/tag/v3.10.0
1316 - name : Set up Docker Buildx
14- uses : docker/setup-buildx-action@v3
17+ uses : docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2
1518
19+ # Action: https://github.com/docker/build-push-action/releases/tag/v6.18.0
1620 - name : Build and push
17- uses : docker/build-push-action@v6
21+ uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83
1822 with :
1923 context : .
2024 file : Dockerfile
You can’t perform that action at this time.
0 commit comments