Skip to content

Commit dd33ef0

Browse files
chore: bump and pin gh actions for publish (#1)
1 parent 9ddc486 commit dd33ef0

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,28 @@ jobs:
1414
- image_name: junobuild/api
1515

1616
steps:
17-
- name: Check out the repo
18-
uses: actions/checkout@v4
17+
- name: Checkout
18+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
19+
with:
20+
persist-credentials: false
1921

2022
- name: Log in to Docker Hub
21-
uses: docker/login-action@v2
23+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
2224
with:
2325
username: ${{ secrets.DOCKER_USERNAME }}
2426
password: ${{ secrets.DOCKER_TOKEN }}
2527

2628
- name: Extract metadata (tags, labels) for Docker
2729
id: meta
28-
uses: docker/metadata-action@v4
30+
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
2931
with:
3032
images: ${{ matrix.image_name }}
3133
tags: |
3234
type=semver,pattern={{major}}
3335
type=semver,pattern={{version}}
3436
3537
- name: Build and push Docker image for ${{ matrix.image_name }}
36-
uses: docker/build-push-action@v5
38+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
3739
with:
3840
context: .
3941
platforms: linux/amd64

0 commit comments

Comments
 (0)