Add workflows to publish docker container on release #29
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
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 |