-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflows to publish docker container on release (#451)
* Add workflow to build docker image * Add release workflow * Apply suggestions from code review Co-authored-by: gabalafou <gabriel@fouasnon.com> * Add some notes --------- Co-authored-by: gabalafou <gabriel@fouasnon.com>
- Loading branch information
Showing
3 changed files
with
106 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Docker | ||
# This workflow builds the conda-store-ui docker image for each | ||
# pull request. This will ensure that no PR is breaking the docker | ||
# image, which will be built and pushed to GHCR when a new release | ||
# is cut. | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
build_docker_image: | ||
name: "Build Docker Image 🛠" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Checkout Repository 🛎" | ||
uses: actions/checkout@v4 | ||
|
||
- name: "Set up Docker Buildx 🏗" | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: "Build image 🚀" | ||
uses: docker/build-push-action@v5 | ||
with: | ||
context: . | ||
target: "prod" | ||
push: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters