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'
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 }}
Loading…
Cancel
Save