Skip to content

Commit

Permalink
update action to find the dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
smnorris committed Nov 22, 2024
1 parent fa043a5 commit de4eb7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ on:
branches:
- 'main'
paths:
- 'Dockerfile'
- 'docker/runner/Dockerfile'
tags:
- 'v*'
pull_request:
branches:
- 'main'
paths:
- 'Dockerfile'
- 'docker/runner/Dockerfile'

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: .
context: docker/runner
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit de4eb7d

Please sign in to comment.