Skip to content

Commit d82c172

Browse files
Pin dependencies
1 parent d9c5bd3 commit d82c172

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/build.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
sudo docker builder prune -a
2727
2828
- name: checkout
29-
uses: actions/checkout@v7.0.1
29+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3030

3131
- name: Prepare env
3232
id: envvars
@@ -41,17 +41,17 @@ jobs:
4141
4242
- name: Metadata
4343
id: meta
44-
uses: docker/metadata-action@v6.2.0
44+
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
4545
with:
4646
images: ghcr.io/${{ vars.ORG_REPO }}/${{ github.event.repository.name }}
4747

4848
- name: Set up Docker Buildx
4949
id: buildx
50-
uses: docker/setup-buildx-action@v4.3.0
50+
uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0
5151

5252
- name: Build and push by digest
5353
if: github.event_name == 'pull_request'
54-
uses: docker/build-push-action@v7.3.0
54+
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
5555
with:
5656
file: ./docker/Dockerfile
5757
platforms: ${{ matrix.platform }}
@@ -70,7 +70,7 @@ jobs:
7070
- name: Authenticate with GHCR
7171
if: github.event_name != 'pull_request'
7272
id: auth
73-
uses: docker/login-action@v4.6.0
73+
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
7474
with:
7575
registry: ghcr.io
7676
username: ${{ github.repository_owner }}
@@ -79,7 +79,7 @@ jobs:
7979
- name: Build and push by digest
8080
if: github.event_name != 'pull_request'
8181
id: build
82-
uses: docker/build-push-action@v7.3.0
82+
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
8383
with:
8484
file: ./docker/Dockerfile
8585
platforms: ${{ matrix.platform }}
@@ -104,7 +104,7 @@ jobs:
104104
105105
- name: Upload digest
106106
if: github.event_name != 'pull_request'
107-
uses: actions/upload-artifact@v7.0.1
107+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
108108
with:
109109
name: digests-${{ env.PLATFORM_PAIR }}
110110
path: ${{ runner.temp }}/digests/*
@@ -119,27 +119,27 @@ jobs:
119119
- build
120120
steps:
121121
- name: Download digests
122-
uses: actions/download-artifact@v8.0.1
122+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
123123
with:
124124
path: ${{ runner.temp }}/digests
125125
pattern: digests-*
126126
merge-multiple: true
127127

128128
- name: Authenticate with GHCR
129129
id: auth
130-
uses: docker/login-action@v4.6.0
130+
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
131131
with:
132132
registry: ghcr.io
133133
username: ${{ github.repository_owner }}
134134
password: ${{ secrets.BUILD_TOKEN }}
135135

136136
- name: Set up Docker Buildx
137137
id: buildx
138-
uses: docker/setup-buildx-action@v4.3.0
138+
uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0
139139

140140
- name: Metadata
141141
id: meta
142-
uses: docker/metadata-action@v6.2.0
142+
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
143143
with:
144144
images: ghcr.io/${{ vars.ORG_REPO }}/${{ github.event.repository.name }}
145145
tags: |
@@ -171,7 +171,7 @@ jobs:
171171
docker buildx imagetools inspect ghcr.io/${{ vars.ORG_REPO }}/${{ github.event.repository.name }}:latest
172172
173173
- name: Post version update to dash
174-
uses: peter-evans/repository-dispatch@v4.0.1
174+
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1
175175
with:
176176
token: ${{ secrets.BUILD_TOKEN }}
177177
repository: ccpbiosim/ccpbiosim.github.io

0 commit comments

Comments
 (0)