Skip to content

Commit 794da94

Browse files
committed
docker-img: specify commit id for 3rd-part github actions
Signed-off-by: Bruno Bonaldi Teixeira <[email protected]>
1 parent ab18a79 commit 794da94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docker-img.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@ jobs:
2121

2222
steps:
2323
- name: Checkout source code
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
2525

2626
- name: Get commit SHA
2727
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
2828

2929
- name: Login to GitHub Packages
30-
uses: docker/login-action@v3
30+
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567
3131
with:
3232
registry: ghcr.io
3333
username: ${{ github.actor }}
3434
password: ${{ secrets.GITHUB_TOKEN }}
3535

3636
- name: Build and push Docker image
37-
uses: docker/build-push-action@v6
37+
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
3838
with:
3939
context: .
4040
push: true

0 commit comments

Comments
 (0)