mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 11:21:24 +00:00
Add ID to docker build step
This commit is contained in:
parent
70ce443f14
commit
17d5adc3a8
1 changed files with 2 additions and 0 deletions
|
@ -126,6 +126,7 @@ jobs:
|
||||||
cp target/${{ matrix.info.target }}/release/pict-rs docker/forgejo/pict-rs
|
cp target/${{ matrix.info.target }}/release/pict-rs docker/forgejo/pict-rs
|
||||||
-
|
-
|
||||||
name: Build and push ${{ matrix.info.platform }} docker image
|
name: Build and push ${{ matrix.info.platform }} docker image
|
||||||
|
id: build
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: ./docker/forgejo
|
context: ./docker/forgejo
|
||||||
|
@ -139,6 +140,7 @@ jobs:
|
||||||
mkdir -p /tmp/digests
|
mkdir -p /tmp/digests
|
||||||
digest="${{ steps.build.outputs.digest }}"
|
digest="${{ steps.build.outputs.digest }}"
|
||||||
touch "/tmp/digests/${digest#sha256:}"
|
touch "/tmp/digests/${digest#sha256:}"
|
||||||
|
echo "Created /tmp/digests/${digest#sha256:}"
|
||||||
-
|
-
|
||||||
name: Upload ${{ matrix.info.platform }} digest
|
name: Upload ${{ matrix.info.platform }} digest
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|
Loading…
Reference in a new issue