Fix context path

This commit is contained in:
asonix 2024-02-07 22:03:21 -06:00
parent 4974ab84ad
commit c4dd830708
1 changed files with 4 additions and 2 deletions

View File

@ -122,12 +122,14 @@ jobs:
path: artifacts/ path: artifacts/
- -
name: Prepare binary name: Prepare binary
run: cp target/${{ matrix.info.target }}/release/pict-rs docker/forgejo/pict-rs run: |
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
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
context: ./docker/forgejo" context: ./docker/forgejo
# file: ./docker/forgejo/Dockerfile
platforms: ${{ matrix.info.platform }} platforms: ${{ matrix.info.platform }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true