Skip to content

Commit

Permalink
Merge pull request #9 from OVINC-CN/chore_docker
Browse files Browse the repository at this point in the history
Chore docker
  • Loading branch information
OrenZhang authored Aug 9, 2024
2 parents 70a0777 + 37721bf commit b13f8be
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
username: ${{ secrets.USER_NAME }}
password: ${{ secrets.USER_TOKEN }}
- name: Extract Docker metadata
id: meta
Expand All @@ -44,8 +44,3 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Sign the published Docker image
env:
TAGS: ${{ steps.meta.outputs.tags }}
DIGEST: ${{ steps.build-and-push.outputs.digest }}
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}

0 comments on commit b13f8be

Please sign in to comment.