File tree 1 file changed +11
-6
lines changed
1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -13,28 +13,33 @@ jobs:
13
13
runs-on : ubuntu-latest
14
14
steps :
15
15
- name : Set up QEMU
16
- uses : docker/setup-qemu-action@v3
16
+ # https://github.com/docker/setup-qemu-action
17
+ uses : docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
17
18
18
19
- name : Set up Docker Buildx
19
- uses : docker/setup-buildx-action@v3
20
+ # https://github.com/docker/setup-buildx-action
21
+ uses : docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
20
22
21
23
- name : Login to GHCR
22
-
24
+ # https://github.com/docker/login-action
25
+ uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
23
26
with :
24
27
registry : ghcr.io
25
28
username : ${{ github.repository_owner }}
26
29
password : ${{ secrets.PACKAGES_TOKEN }}
27
30
28
- - name : Get branch names
29
- uses :
tj-actions/[email protected]
31
+ - name : Get branch name
30
32
id : branch-name
33
+ run : |
34
+ echo "current_branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
31
35
32
36
- name : image name
33
37
run : echo ghcr.io/${{ github.repository }}:${{ steps.branch-name.outputs.current_branch }}
34
38
35
39
- name : Build backend
36
40
id : docker_build
37
- uses : docker/build-push-action@v5
41
+ # https://github.com/docker/build-push-action
42
+ uses : docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
38
43
with :
39
44
file : " Dockerfile"
40
45
push : true
You can’t perform that action at this time.
0 commit comments