Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dream10201 committed Nov 22, 2024
1 parent 3d49595 commit 2c11d00
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.CR_PAT }}
- name: Build and push
id: push
id: push_github
if: ${{ github.event_name == 'push' }}
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ghcr.io/dream10201/115docker:dev,docker.io/xiuxiu10201/115:dev
- name: Build and push
id: push
id: push_docker
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: docker/build-push-action@v6
with:
Expand All @@ -45,11 +45,11 @@ jobs:
uses: actions/attest-build-provenance@v1
with:
subject-name: ghcr.io/dream10201/115docker
subject-digest: ${{ steps.push.outputs.digest }}
subject-digest: ${{ steps.push_github.outputs.digest }}
push-to-registry: true
- name: Attest for docker
uses: actions/attest-build-provenance@v1
with:
subject-name: index.docker.io/dream10201/115docker
subject-digest: ${{ steps.push.outputs.digest }}
subject-digest: ${{ steps.push_docker.outputs.digest }}
push-to-registry: true

0 comments on commit 2c11d00

Please sign in to comment.