Skip to content

Commit b93e0a3

Browse files
authored
Update docker-publish.yml
1 parent 1592c30 commit b93e0a3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/docker-publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name: Docker
77

88
on:
99
schedule:
10-
- cron: '17 1 * * *'
10+
- cron: '27 21 * * *'
1111
push:
1212
branches: [ "main" ]
1313
# Publish semver tags as releases.
@@ -41,14 +41,14 @@ jobs:
4141
# https://github.com/sigstore/cosign-installer
4242
- name: Install cosign
4343
if: github.event_name != 'pull_request'
44-
uses: sigstore/cosign-installer@main #v2.6.0
44+
uses: sigstore/cosign-installer@f3c664df7af409cb4873aa5068053ba9d61a57b6 #v2.6.0
4545
with:
4646
cosign-release: 'v1.13.1'
4747

4848

4949
# Workaround: https://github.com/docker/build-push-action/issues/461
5050
- name: Setup Docker buildx
51-
uses: docker/setup-buildx-action@main
51+
uses: docker/setup-buildx-action@79abd3f86f79a9d68a23c75a09a9a85889262adf
5252

5353
# Login against a Docker registry except on PR
5454
# https://github.com/docker/login-action
@@ -64,15 +64,15 @@ jobs:
6464
# https://github.com/docker/metadata-action
6565
- name: Extract Docker metadata
6666
id: meta
67-
uses: docker/metadata-action@main
67+
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
6868
with:
6969
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
7070

7171
# Build and push Docker image with Buildx (don't push on PR)
7272
# https://github.com/docker/build-push-action
7373
- name: Build and push Docker image
7474
id: build-and-push
75-
uses: docker/build-push-action@main
75+
uses: docker/build-push-action@ac9327eae2b366085ac7f6a2d02df8aa8ead720a
7676
with:
7777
context: .
7878
push: ${{ github.event_name != 'pull_request' }}

0 commit comments

Comments
 (0)