Update build-image.yml

This commit is contained in:
Damien Ostler 2024-06-15 03:25:31 -04:00
parent 45f5378702
commit 1d02b664d0

View File

@ -258,7 +258,7 @@ jobs:
dockerfile: ./src/comissions.app.api/Dockerfile
docker_image_name: ghcr.io/d4m13n-d3v/comissions-api-${{ matrix.platform }}
run: |
docker build --build-arg NUGET_SOURCE=https://nuget.pkg.github.com/data443/index.json --platform linux/${{ matrix.platform }} -t ${{ env.docker_image_name }}:${{ needs.gitversion.outputs.semantic_version }} -f ${{ env.dockerfile }} --force-rm .
docker build --platform linux/${{ matrix.platform }} -t ${{ env.docker_image_name }}:${{ needs.gitversion.outputs.semantic_version }} -f ${{ env.dockerfile }}
docker tag ${{ env.docker_image_name }}:${{ needs.gitversion.outputs.semantic_version }} ${{ env.docker_image_name }}:latest
docker push --all-tags ${{ env.docker_image_name }}