Skip to content

Commit

Permalink
Make docker compose returns the container's exit code in build work…
Browse files Browse the repository at this point in the history
…flow (iScsc#29)

* Trigger the same bug iScsc#22 talks about

* Implement a solution

* Force docker compose to return the exit code of the container

* Modify use of --exit-code-from to use it well

* Still up only builder container

* Clean docker-compose.yml

* Revert "Trigger the same bug iScsc#22 talks about"

This reverts commit 6580f56.
  • Loading branch information
ctmbl authored Mar 3, 2024
1 parent 1b6ea60 commit 18397c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
# Build the static website with the provided docker-compose rules
- name: 🛠️ Build with HUGO
run: |
docker compose up builder
docker compose up builder --exit-code-from builder
# Upload build artifacts for deployment or download
- name: 🚀 Upload Artifacts
Expand Down

0 comments on commit 18397c7

Please sign in to comment.