Skip to content

Commit afd25eb

Browse files
committed
[github-actions] pin actions to commit SHA hashes in dockerhub-publish
Pin docker/login-action and actions/download-artifact to full commit SHA hashes in dockerhub-publish.yml. Also update docker/login-action to v4.6.0. Referencing GitHub Actions by version tags triggers unpinned-uses errors in zizmor security scans during CI workflows. Pinning to full commit SHAs resolves these security scan failures and allows Dependabot to maintain commit SHA references for future updates.
1 parent 288adca commit afd25eb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/dockerhub-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ jobs:
5555
runs-on: ubuntu-22.04
5656
steps:
5757
- name: Login to DockerHub
58-
uses: docker/login-action@v4.5.1
58+
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
5959
with:
6060
username: ${{ secrets.DOCKERHUB_USERNAME }}
6161
password: ${{ secrets.DOCKERHUB_PERSONAL_ACCESS_TOKEN }}
6262

6363
- name: 'Download artifact'
64-
uses: actions/download-artifact@v8
64+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
6565
with:
6666
name: ${{ inputs.artifact_name }}
6767

0 commit comments

Comments
 (0)