From d55a47fb3de12cfd1ed0bd140247dce235cdb7ce Mon Sep 17 00:00:00 2001 From: Dave Tucker Date: Sat, 22 Jan 2022 22:37:16 +0000 Subject: [PATCH] ci: Fix image build workflow Signed-off-by: Dave Tucker --- .github/workflows/images.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/images.yml b/.github/workflows/images.yml index 00e8d458..08f5e144 100644 --- a/.github/workflows/images.yml +++ b/.github/workflows/images.yml @@ -8,6 +8,13 @@ on: - 'main' paths: - 'images/**' + - '.github/workflows/images.yml' + pull_request: + branches: + - 'main' + paths: + - 'images/**' + - '.github/workflows/images.yml' env: REGISTRY: ghcr.io @@ -39,8 +46,8 @@ jobs: - name: Build and push Docker image uses: docker/build-push-action@v2 with: - path: ./images - file: Dockerfile.rtf + context: images + file: images/Dockerfile.rtf push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file