Skip to content

Commit 135c99d

Browse files
authored
pin github action version (#268)
1 parent 1fa410f commit 135c99d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/release-build-publish.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout Repository
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2121

2222
- name: Setup Go
23-
uses: actions/setup-go@v2
23+
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
2424
with:
2525
go-version: '^1.24.13'
2626

27-
- uses: actions/cache@v4
27+
- uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
2828
with:
2929
path: ~/go/pkg/mod
3030
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
@@ -42,7 +42,7 @@ jobs:
4242
VERSION: ${{ github.event.inputs.version }}
4343

4444
- name: Configure AWS Credentials
45-
uses: aws-actions/configure-aws-credentials@v1
45+
uses: aws-actions/configure-aws-credentials@a03048d87541d1d9fcf2ecf528a4a65ba9bd7838 # v5.0.0
4646
with:
4747
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN_RELEASE }}
4848
aws-region: us-east-1
@@ -70,7 +70,7 @@ jobs:
7070
gpg --list-secret-keys
7171
7272
- name: Upload archives as actions artifact
73-
uses: actions/upload-artifact@v4
73+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
7474
with:
7575
name: distributions
7676
path: build/dist/
@@ -79,24 +79,24 @@ jobs:
7979
run: aws ecr-public get-login-password | docker login --username AWS --password-stdin public.ecr.aws
8080

8181
- name: Login to DockerHub
82-
uses: docker/login-action@v1
82+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
8383
with:
8484
username: ${{ secrets.DOCKER_USER }}
8585
password: ${{ secrets.DOCKER_PASS }}
8686

8787
- name: Set up Docker Buildx
88-
uses: docker/setup-buildx-action@v1
88+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
8989

9090
- name: Cache Docker layers
91-
uses: actions/cache@v4
91+
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
9292
with:
9393
path: /tmp/.buildx-cache
9494
key: ${{ runner.os }}-buildx-${{ github.sha }}
9595
restore-keys: |
9696
${{ runner.os }}-buildx-
9797
9898
- name: Build and push docker image for Public ECR
99-
uses: docker/build-push-action@v2
99+
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
100100
with:
101101
context: .
102102
file: ./Dockerfile
@@ -110,7 +110,7 @@ jobs:
110110
cache-to: type=local,dest=/tmp/.buildx-cache
111111

112112
- name: Build and push docker image for DockerHub
113-
uses: docker/build-push-action@v2
113+
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
114114
with:
115115
context: .
116116
file: ./Dockerfile.amazonlinux
@@ -125,7 +125,7 @@ jobs:
125125

126126
- name: Create Release
127127
id: create_release
128-
uses: actions/create-release@v1
128+
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1
129129
env:
130130
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
131131
with:

0 commit comments

Comments
 (0)