2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-22 19:31:35 +00:00

Add ID to docker build step

This commit is contained in:
asonix 2024-02-07 22:25:01 -06:00
parent 70ce443f14
commit 17d5adc3a8

View file

@ -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