Merge pull request #183 from dave-tucker/fix-image-build

ci: Fix image build workflow
pull/222/head
Alessandro Decina 3 years ago committed by GitHub
commit 17a3959e87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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