Skip to content

Commit

Permalink
Use file instead of context
Browse files Browse the repository at this point in the history
  • Loading branch information
r-ash committed Mar 15, 2024
1 parent c3c2cd4 commit 42d21ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,17 @@ jobs:
uses: docker/build-push-action@v5
if: github.event_name == 'pull_request'
with:
context: "{{defaultContext}}:docker"
file: "{{defaultContext}}/docker/Dockerfile"
push: true
tags: |
mrcide/naomi:${{steps.extract_branch.outputs.branch}}
ghcr.io/${{github.repository}}:${{steps.extract_branch.outputs.branch}}
- name: Build and push
- name: Build and push prod containers
uses: docker/build-push-action@v5
if: github.event_name != 'pull_request'
with:
file: "{{defaultContext}}/docker/Dockerfile"
push: true
tags: |
mrcide/naomi:latest
Expand Down

0 comments on commit 42d21ab

Please sign in to comment.