mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
handle digest
This commit is contained in:
15
.github/workflows/build-image-debian.yaml
vendored
15
.github/workflows/build-image-debian.yaml
vendored
@@ -53,9 +53,24 @@ jobs:
|
|||||||
context: debian
|
context: debian
|
||||||
load: true
|
load: true
|
||||||
tags: ${{ env.REGISTRY_IMAGE }}:test
|
tags: ${{ env.REGISTRY_IMAGE }}:test
|
||||||
|
outputs: type=image,push-by-digest=true,name-canonical=true
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
|
||||||
|
- name: Export digest
|
||||||
|
run: |
|
||||||
|
mkdir -p ${{ runner.temp }}/digests
|
||||||
|
digest="${{ steps.build.outputs.digest }}"
|
||||||
|
touch "${{ runner.temp }}/digests/${digest#sha256:}"
|
||||||
|
|
||||||
|
- name: Upload digest
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: digests-${{ env.PLATFORM_PAIR }}
|
||||||
|
path: ${{ runner.temp }}/digests/*
|
||||||
|
if-no-files-found: error
|
||||||
|
retention-days: 1
|
||||||
|
|
||||||
merge:
|
merge:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs:
|
needs:
|
||||||
|
|||||||
Reference in New Issue
Block a user