Skip to content

Commit

Permalink
Make the build command take the context into account
Browse files Browse the repository at this point in the history
  • Loading branch information
cgokmen committed Sep 19, 2023
1 parent 046e6f1 commit b2d03c5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-push-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
docker:
runs-on: [self-hosted, linux, gpu]
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand Down Expand Up @@ -54,6 +57,7 @@ jobs:
uses: docker/build-push-action@v4
id: build-dev
with:
context: .
push: true
tags: ${{ steps.meta-dev.outputs.tags }}
labels: ${{ steps.meta-dev.outputs.labels }}
Expand All @@ -68,6 +72,7 @@ jobs:
name: Build and push prod image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ${{ steps.meta-prod.outputs.tags }}
labels: ${{ steps.meta-prod.outputs.labels }}
Expand Down

0 comments on commit b2d03c5

Please sign in to comment.