Skip to content

Commit 83c548a

Browse files
ci: Update GitHub Action versions, enablem sbom generation on Docker build
1 parent 686a663 commit 83c548a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/docker-publish.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,28 +22,29 @@ jobs:
2222
uses: actions/checkout@v4.1.1
2323

2424
- name: Log in to Docker Hub
25-
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
25+
uses: docker/login-action@v3.3.0
2626
with:
2727
username: ${{ secrets.DOCKERHUB_USERNAME }}
2828
password: ${{ secrets.DOCKERHUB_TOKEN }}
2929

3030
- name: Extract metadata (tags, labels) for Docker
3131
id: meta
32-
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
32+
uses: docker/metadata-action@v5.5.1
3333
with:
3434
images: georgedavisibexlabs/publish-sarif-to-jira
3535

3636
- name: Build and push Docker image
37-
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
37+
uses: docker/build-push-action@v6.6.1
3838
with:
3939
context: .
4040
file: Dockerfile
4141
push: true
42+
sbom: true
4243
tags: ${{ steps.meta.outputs.tags }}
4344
labels: ${{ steps.meta.outputs.labels }}
4445

4546
- name: Update Docker Hub description
46-
uses: peter-evans/dockerhub-description@v3
47+
uses: peter-evans/dockerhub-description@v4.0.0
4748
with:
4849
username: ${{ secrets.DOCKERHUB_USERNAME }}
4950
password: ${{ secrets.DOCKERHUB_TOKEN }}

0 commit comments

Comments
 (0)