@@ -18,13 +18,13 @@ jobs:
1818 docker :
1919 runs-on : ubuntu-latest
2020 steps :
21- - uses : actions/checkout@v4
21+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2222 with :
2323 fetch-depth : 0
2424 - name : Set up Docker Buildx
25- uses : docker/setup-buildx-action@v3
25+ uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
2626 - name : Log in to GHCR
27- uses : docker/login-action@v3
27+ uses : docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
2828 with :
2929 registry : ghcr.io
3030 username : ${{ github.actor }}
6262 git tag ${{ steps.full_version.outputs.full_version }}
6363 git push origin ${{ steps.full_version.outputs.full_version }}
6464 - name : Build and push
65- uses : docker/build-push-action@v6
65+ uses : docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
6666 with :
6767 push : true
6868 tags : ghcr.io/usa-reddragon/kiri:${{ steps.tag_name.outputs.tag }}
@@ -79,15 +79,15 @@ jobs:
7979 run : |
8080 echo "major_version=${GITHUB_REF#refs/*/}" | sed 's/\.[^.]*$//' | sed 's/\.[^.]*$//' >> $GITHUB_OUTPUT
8181 - name : Build and push minor version
82- uses : docker/build-push-action@v6
82+ uses : docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
8383 if : startsWith(github.ref, 'refs/tags/v') || github.event_name == 'release'
8484 with :
8585 push : true
8686 tags : ghcr.io/usa-reddragon/kiri:${{ steps.minor_version.outputs.minor_version }}
8787 cache-from : type=gha
8888 cache-to : type=gha,mode=max
8989 - name : Build and push major version
90- uses : docker/build-push-action@v6
90+ uses : docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
9191 if : startsWith(github.ref, 'refs/tags/v') || github.event_name == 'release'
9292 with :
9393 push : true
@@ -108,7 +108,7 @@ jobs:
108108 - name : Create Release
109109 id : create_release
110110 if : startsWith(github.ref, 'refs/tags/v')
111- uses : actions/create-release@v1
111+ uses : actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1
112112 env :
113113 GITHUB_TOKEN : ${{ secrets.RELEASE_TOKEN }}
114114 with :
@@ -118,7 +118,7 @@ jobs:
118118 prerelease : false
119119 - name : Create Issue on Failure
120120 if : failure() && startsWith(github.ref, 'refs/tags/v')
121- uses : actions/github-script@v7
121+ uses : actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
122122 with :
123123 github-token : ${{ secrets.GITHUB_TOKEN }}
124124 script : |
0 commit comments