Skip to content

Commit

Permalink
Comment out Docker login and artifact attestation steps in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
andrekutianski committed Dec 22, 2024
1 parent c1d431e commit e2b7d3a
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,15 @@ jobs:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
subject-digest: ${{ steps.build-and-push.outputs.digest }}
push-to-registry: true
- name: Log into ${{ env.REGISTRY_DOCKERHUB }}
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
username: streamwise
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Generate artifact attestation for docker.io
uses: actions/attest-build-provenance@v2
with:
subject-name: ${{ env.DOCKERHUB_IMAGE_NAME }}
subject-digest: ${{ steps.build-and-push.outputs.digest }}
push-to-registry: true
# - name: Log into ${{ env.REGISTRY_DOCKERHUB }}
# if: github.event_name != 'pull_request'
# uses: docker/login-action@v3
# with:
# username: streamwise
# password: ${{ secrets.DOCKER_PASSWORD }}
# - name: Generate artifact attestation for docker.io
# uses: actions/attest-build-provenance@v2
# with:
# subject-name: ${{ env.DOCKERHUB_IMAGE_NAME }}
# subject-digest: ${{ steps.build-and-push.outputs.digest }}
# push-to-registry: true

0 comments on commit e2b7d3a

Please sign in to comment.