-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: pin actions to digests (#1032)
* chore: pin actions to digests * chore: regenerate
- Loading branch information
Showing
6 changed files
with
72 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,7 +99,7 @@ jobs: | |
run: exit 1 | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
|
@@ -132,13 +132,13 @@ jobs: | |
version: ${{ steps.meta.outputs.version }} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
|
||
- name: Configure Git for private repositories (this is needed by repositories that include this workflow and have other private dependencies) | ||
run: git config --global url."https://${{ secrets.gh-pat }}@github.com".insteadOf "https://github.com" | ||
|
||
- name: Cache Docker layers | ||
uses: actions/cache@v4 | ||
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4 | ||
with: | ||
path: /tmp/.buildx-cache | ||
key: ${{ runner.os }}-buildx-${{ github.sha }} | ||
|
@@ -147,14 +147,14 @@ jobs: | |
- name: Log in to the Container registry | ||
if: ${{ inputs.push }} | ||
uses: docker/[email protected] | ||
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0 | ||
with: | ||
registry: ${{ inputs.registry }} | ||
username: ${{ inputs.username }} | ||
password: ${{ secrets.dockerhub-token }} | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 # v3.8.0 | ||
uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3 # v3.8.0 | ||
|
||
- name: Add standard tags | ||
if: ${{ inputs.tag != '' }} | ||
|
@@ -190,7 +190,7 @@ jobs: | |
|
||
# Setup Golang to use go pkg cache which is utilized in Dockerfile's cache mount. | ||
- name: Setup golang | ||
uses: actions/setup-go@v5 | ||
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5 | ||
with: | ||
go-version-file: go.mod | ||
|
||
|
@@ -205,7 +205,7 @@ jobs: | |
|
||
- name: Build image | ||
id: build | ||
uses: docker/[email protected] | ||
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0 | ||
with: | ||
context: . | ||
build-contexts: ${{ inputs.additional-build-contexts }} | ||
|
@@ -251,7 +251,7 @@ jobs: | |
${{ inputs.image-name }}:${{ steps.meta.outputs.version }} -version | ${{ inputs.verify-image-script }} ${{ github.repository }} | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v4 | ||
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4 | ||
with: | ||
name: image-${{ matrix.os }}-${{ matrix.arch }} | ||
path: /tmp/image.tar | ||
|
@@ -269,12 +269,12 @@ jobs: | |
- build | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
|
||
- name: Configure Git for private repositories (this is needed by repositories that include this workflow and have other private dependencies) | ||
run: git config --global url."https://${{ secrets.gh-pat }}@github.com".insteadOf "https://github.com" | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 # v3.8.0 | ||
uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3 # v3.8.0 | ||
|
||
- name: Add standard tags | ||
if: ${{ inputs.tag != '' }} | ||
|
@@ -310,7 +310,7 @@ jobs: | |
|
||
- name: Log in to the Container registry | ||
if: ${{ inputs.push }} | ||
uses: docker/[email protected] | ||
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0 | ||
with: | ||
registry: ${{ inputs.registry }} | ||
username: ${{ inputs.username }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.