Skip to content

Commit

Permalink
Update the context in the docker build action
Browse files Browse the repository at this point in the history
  • Loading branch information
mbkumar committed Nov 18, 2023
1 parent e54cd08 commit 1d53c36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
uses: docker/build-push-action@v3
if: ${{ startsWith(github.ref, 'refs/heads') && github.ref == 'refs/heads/master' }}
with:
context: ci
context: .
file: Dockerfile.ubuntu
push: true
tags: hiddensymmetries/simsopt_dev:latest
Expand All @@ -48,7 +48,7 @@ jobs:
uses: docker/build-push-action@v3
if: ${{ startsWith(github.ref, 'refs/heads') && github.ref != 'refs/heads/master' }}
with:
context: ci
context: .
file: Dockerfile.ubuntu
push: false
tags: hiddensymmetries/simsopt_dev:test
Expand All @@ -57,7 +57,7 @@ jobs:
uses: docker/build-push-action@v3
if: startsWith(github.event.ref, 'refs/tags/v')
with:
context: ci
context: .
file: Dockerfile.ubuntu
push: true
tags: "hiddensymmetries/simsopt_dev:${{steps.vars.outputs.tag}}"

0 comments on commit 1d53c36

Please sign in to comment.