fixing github action
This commit is contained in:
@@ -42,7 +42,6 @@ jobs:
|
|||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
id: push
|
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
@@ -54,10 +53,3 @@ jobs:
|
|||||||
|
|
||||||
##ghcr.io/${{ github.repository_owner }}/blog-ahmza-com:latest
|
##ghcr.io/${{ github.repository_owner }}/blog-ahmza-com:latest
|
||||||
##ghcr.io/${{ github.repository_owner }}/blog-ahmza-com:${{ github.ref_name}}
|
##ghcr.io/${{ github.repository_owner }}/blog-ahmza-com:${{ github.ref_name}}
|
||||||
|
|
||||||
- name: Generate Artifact Attestation
|
|
||||||
uses: actions/attest-build-provenance@v1
|
|
||||||
with:
|
|
||||||
subject-name: ${{ env.REGISTRY }}/${{ env.IMG_NAME }}
|
|
||||||
subject-digest: ${{ steps.push.outputs.digest }}
|
|
||||||
push-to-registry: true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user