Skip to content

Commit c0bf318

Browse files
authored
Merge pull request #275 from diogoasouza/release-v6.x-fix/pin-actions
Pin GH Actions to commit sha
2 parents fb46cfe + b878611 commit c0bf318

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/head-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ jobs:
5050
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5151

5252
- name: Load Secrets from Vault
53-
uses: rancher-eio/read-vault-secrets@main
53+
uses: rancher-eio/read-vault-secrets@0da85151ad1f19ed7986c41587e45aac1ace74b6 # v3
5454
with:
5555
secrets: |
5656
secret/data/github/repo/${{ github.repository }}/dockerhub/rancher/credentials username | DOCKER_USERNAME ;
5757
secret/data/github/repo/${{ github.repository }}/dockerhub/rancher/credentials password | DOCKER_PASSWORD ;
5858
5959
- name: Build and push all image variations
60-
uses: rancher/ecm-distro-tools/actions/publish-image@master
60+
uses: rancher/ecm-distro-tools/actions/publish-image@575bb831c67edd950bfedb59d41dd127bd0005d6 # v0.65.2
6161
with:
6262
image: ${{ vars.IMAGE_NAME || 'kuberlr-kubectl' }}
6363
tag: ${{ needs.prebuild-env.outputs.branch_static_tag }}

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
gh release upload "${TAG_NAME}" "./build/charts/rancher-kubectl-test-${TAG_NAME#v}.tgz"
5555
5656
- name: Load Secrets from Vault
57-
uses: rancher-eio/read-vault-secrets@main
57+
uses: rancher-eio/read-vault-secrets@0da85151ad1f19ed7986c41587e45aac1ace74b6 # v3
5858
with:
5959
secrets: |
6060
secret/data/github/repo/${{ github.repository }}/dockerhub/rancher/credentials username | DOCKER_USERNAME ;
@@ -64,7 +64,7 @@ jobs:
6464
secret/data/github/repo/${{ github.repository }}/rancher-prime-stg-registry/credentials password | PRIME_STG_REGISTRY_PASSWORD ;
6565
6666
- name: Build and push kuberlr-kubectl image (dockerhub and prime stg)
67-
uses: rancher/ecm-distro-tools/actions/publish-image@master
67+
uses: rancher/ecm-distro-tools/actions/publish-image@575bb831c67edd950bfedb59d41dd127bd0005d6 # v0.65.2
6868
with:
6969
image: ${{ vars.IMAGE_NAME || 'kuberlr-kubectl' }}
7070
tag: ${{ github.ref_name }}
@@ -86,7 +86,7 @@ jobs:
8686

8787
- name: Load Secrets from Vault
8888
if: ${{ steps.semver_check.outputs.HAS_PRERELEASE == 'false' }}
89-
uses: rancher-eio/read-vault-secrets@main
89+
uses: rancher-eio/read-vault-secrets@0da85151ad1f19ed7986c41587e45aac1ace74b6 # v3
9090
with:
9191
secrets: |
9292
secret/data/github/repo/${{ github.repository }}/rancher-prime-registry/credentials registry | PRIME_REGISTRY ;
@@ -95,7 +95,7 @@ jobs:
9595
9696
- name: Build and push kuberlr-kubectl image (prime prod)
9797
if: ${{ steps.semver_check.outputs.HAS_PRERELEASE == 'false' }}
98-
uses: rancher/ecm-distro-tools/actions/publish-image@master
98+
uses: rancher/ecm-distro-tools/actions/publish-image@575bb831c67edd950bfedb59d41dd127bd0005d6 # v0.65.2
9999
with:
100100
image: ${{ vars.IMAGE_NAME || 'kuberlr-kubectl' }}
101101
tag: ${{ github.ref_name }}

.github/workflows/renovate-vault.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ permissions:
2222

2323
jobs:
2424
call-workflow:
25-
uses: rancher/renovate-config/.github/workflows/renovate-vault.yml@release
25+
uses: rancher/renovate-config/.github/workflows/renovate-vault.yml@c88cbe41a49d02648b9bf83aa5a64902151323fa # release
2626
with:
2727
logLevel: ${{ inputs.logLevel || 'info' }}
2828
overrideSchedule: ${{ github.event.inputs.overrideSchedule == 'true' && '{''schedule'':null}' || '' }}

0 commit comments

Comments
 (0)