From a0eed7d03354e4d1a508bfbbeb0c247ff287a52f Mon Sep 17 00:00:00 2001 From: James Ravenscroft Date: Mon, 8 May 2023 11:41:44 +0100 Subject: [PATCH] add dockerfile to docker builds --- .github/workflows/docker-image.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index ccb357d..21ef6f5 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -47,6 +47,7 @@ jobs: uses: docker/build-push-action@v4 if: (!startsWith(github.ref, 'refs/tags/')) with: + file: ${{matrix.config.dockerfile}} push: true tags: ghcr.io/ravenscroftj/turbopilot:nightly-${{ github.sha }} context: ${{github.workspace}} @@ -57,6 +58,7 @@ jobs: uses: docker/build-push-action@v4 if: startsWith(github.ref, 'refs/tags/') && matrix.config.tag == '' with: + file: ${{matrix.config.dockerfile}} push: true tags: ghcr.io/ravenscroftj/turbopilot:${{ github.ref_name }}, ghcr.io/ravenscroftj/turbopilot:latest context: ${{github.workspace}} @@ -67,6 +69,7 @@ jobs: uses: docker/build-push-action@v4 if: startsWith(github.ref, 'refs/tags/') && matrix.config.tag != '' with: + file: ${{matrix.config.dockerfile}} push: true tags: ghcr.io/ravenscroftj/turbopilot:${{ github.ref_name }} context: ${{github.workspace}}