Skip to content

Commit b07c2cf

Browse files
committed
Pin versions
1 parent d28c761 commit b07c2cf

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/building-docker-release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,28 @@ jobs:
99
steps:
1010
-
1111
name: Checkout
12-
uses: actions/checkout@v4
12+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1313
-
1414
name: Set up QEMU
15-
uses: docker/setup-qemu-action@v3
15+
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3
1616
-
1717
name: Set up Docker Buildx
18-
uses: docker/setup-buildx-action@v3
18+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
1919
-
2020
name: Login to DockerHub
21-
uses: docker/login-action@v3
21+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
2222
with:
2323
username: ${{ secrets.DOCKERHUB_USERNAME }}
2424
password: ${{ secrets.DOCKERHUB_TOKEN }}
2525
-
2626
name: Get the tag
2727
id: tag
28-
uses: dawidd6/action-get-tag@v1
28+
uses: dawidd6/action-get-tag@727a6f0a561be04e09013531e73a3983a65e3479 # v1
2929
with:
3030
strip_v: true
3131
-
3232
name: Build and push
33-
uses: docker/build-push-action@v5
33+
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5
3434
with:
3535
context: .
3636
platforms: linux/amd64,linux/arm64

.github/workflows/docker-scan.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
if: ${{ !contains(github.event.head_commit.message, 'docs:') }}
1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@v4
15-
14+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
15+
1616
- name: Build an image from Dockerfile
1717
run: |
1818
docker buildx install
1919
docker buildx build --load --platform linux/amd64 -t docker.io/sitespeedio/browsers:${{ github.sha }} .
20-
20+
2121
- name: Run Trivy vulnerability scanner
22-
uses: aquasecurity/trivy-action@master
22+
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # master
2323
with:
2424
image-ref: 'docker.io/sitespeedio/browsers:${{ github.sha }}'
2525
format: 'table'

0 commit comments

Comments
 (0)