ci: Fix image build workflow

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
pull/183/head
Dave Tucker 3 years ago
parent 9f711e44fe
commit d55a47fb3d

@ -8,6 +8,13 @@ on:
- 'main' - 'main'
paths: paths:
- 'images/**' - 'images/**'
- '.github/workflows/images.yml'
pull_request:
branches:
- 'main'
paths:
- 'images/**'
- '.github/workflows/images.yml'
env: env:
REGISTRY: ghcr.io REGISTRY: ghcr.io
@ -39,8 +46,8 @@ jobs:
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
path: ./images context: images
file: Dockerfile.rtf file: images/Dockerfile.rtf
push: true push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
Loading…
Cancel
Save