diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index 340c31ae..854cd534 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -52,12 +52,16 @@ jobs: --tag ghcr.io/gramps-project/grampsweb:${{ github.event.release.tag_name }} \ --tag ghcr.io/gramps-project/grampsweb:latest \ --platform linux/amd64,linux/arm/v7,linux/arm64 . + - name: Clean up dangling images + run: docker image prune -f - name: tag and push devel nginx image run: | docker build --push \ --tag ghcr.io/gramps-project/grampsjs:latest-devel \ --platform linux/amd64,linux/arm/v7,linux/arm64 \ -f Dockerfile.nginx . + - name: Clean up dangling images + run: docker image prune -f - name: tag and push release nginx image if: github.event_name == 'release' run: |