File tree Expand file tree Collapse file tree
content/actions/how-tos/secure-your-work/security-harden-deployments Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,18 +71,18 @@ jobs:
7171
7272 - name : Get Docker OIDC token
7373 id : docker-oidc
74- uses : docker/oidc-action@v1
74+ uses : docker/oidc-action@3f002d200df5620744c973221788e401898c6f86 # v1.0.0
7575 with :
7676 connection_id : YOUR_CONNECTION_ID
7777
7878 - name : Sign in to Docker Hub
79- uses : docker/login-action@v4
79+ uses : docker/login-action@af1e73f918a031802d376d3c8bbc3fe56130a9b0 # v4.4.0
8080 with :
8181 username : YOUR_DOCKER_ORG
8282 password : {% raw %}${{ steps.docker-oidc.outputs.token }}{% endraw %}
8383
8484 - name : Build and push
85- uses : docker/build-push-action@v6
85+ uses : docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
8686 with :
8787 push : true
8888 tags : YOUR_DOCKER_ORG/my-image:latest
You can’t perform that action at this time.
0 commit comments