Skip to content

Commit

Permalink
Update Docker build configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytes committed Feb 14, 2024
1 parent 16f60f5 commit b86ab6c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ on:
paths:
- 'src/**'

defaults:
run:
working-directory: src/SampleApi

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -37,14 +33,15 @@ jobs:
- name: Build and export to Docker
uses: docker/build-push-action@v5
with:
context: .
context: src/SampleApi
load: true
push: false
tags: ${{ env.TAG }}

- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
context: src/SampleApi
push: true
tags: |
${{ env.repo }}:latest
Expand Down

0 comments on commit b86ab6c

Please sign in to comment.