curses
This commit is contained in:
parent
b9e3f78b2e
commit
0e60398309
1 changed files with 4 additions and 4 deletions
8
.github/workflows/push.yml
vendored
8
.github/workflows/push.yml
vendored
|
|
@ -27,13 +27,13 @@ jobs:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Extract metadata (tags, labels) for Docker
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v4
|
uses: docker/metadata-action@v4
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
id: build-and-push
|
id: build-and-push
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
|
|
@ -49,7 +49,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
DIGEST=$(docker inspect --format='{{index .RepoDigests 0}}' ghcr.io/${{ github.repository_owner }}/lightning-pub:latest | cut -d'@' -f2)
|
DIGEST=$(docker inspect --format='{{index .RepoDigests 0}}' ghcr.io/${{ github.repository_owner }}/lightning-pub:latest | cut -d'@' -f2)
|
||||||
echo "Raw Digest is $DIGEST"
|
echo "Raw Digest is $DIGEST"
|
||||||
echo "::set-output name=digest::${DIGEST}"
|
echo "::set-output name=digest::$DIGEST"
|
||||||
|
|
||||||
- name: Debug Print Digest
|
- name: Debug Print Digest
|
||||||
run: echo "Digest is ${{ steps.capture-digest.outputs.digest }}"
|
run: echo "Digest is ${{ steps.capture-digest.outputs.digest }}"
|
||||||
|
|
@ -57,6 +57,6 @@ jobs:
|
||||||
- name: Attest build provenance
|
- name: Attest build provenance
|
||||||
uses: actions/attest-build-provenance@v1
|
uses: actions/attest-build-provenance@v1
|
||||||
with:
|
with:
|
||||||
subject-digest: sha256:${{ steps.capture-digest.outputs.digest }}
|
subject-digest: ${{ steps.capture-digest.outputs.digest }}
|
||||||
subject-name: ghcr.io/${{ github.repository_owner }}/lightning-pub:latest
|
subject-name: ghcr.io/${{ github.repository_owner }}/lightning-pub:latest
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue