Skip to content

Commit

Permalink
reduce workflow time by only including necessary files in artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
mobergmann authored Oct 30, 2023
1 parent c13db89 commit 46ae434
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
name: build-artifact
path: |
target/
target/release/sport-challenge
container_build:
if: github.ref == 'refs/heads/main'
Expand All @@ -35,7 +35,7 @@ jobs:
uses: actions/download-artifact@v3
with:
name: build-artifact
path: target/
path: target/release/sport-challenge
- name: Build the Docker image
run: |
docker build . --file Dockerfile --tag $IMAGE_NAME
Expand Down

0 comments on commit 46ae434

Please sign in to comment.