Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build containers in GHA #649

Merged
merged 4 commits into from
Sep 16, 2023
Merged

Build containers in GHA #649

merged 4 commits into from
Sep 16, 2023

Conversation

danielnachun
Copy link
Collaborator

@danielnachun danielnachun commented Sep 16, 2023

This PR will add the necessary workflows and other files for us to build our Docker and Apptainer/Singularity containers in GitHub Actions (GHA) runners (Ubuntu VM running in Microsoft Azure) from conda environment YAML files and push the containers to GitHub packages (ghcr.io), quay.io, and DockerHub.

The layout of the workflow is approximately as follows:

.github/docker.df - Dockerfile for building a micromamba-based Docker container
.github/apptainer.def - definition file for building a micromamba-based Apptainer/Singularity container
.github/workflows/container_build.yml - workflow to build containers with docker buildx and apptainer and upload the image archive to GHA temporary artifact storage
.github/workflows/container_upload.yml - workflow to download containers from GHA artifact storage and tag and upload them to container repositories.

@gaow gaow merged commit b9c6fd8 into cumc:main Sep 16, 2023
@danielnachun danielnachun deleted the build_containers branch September 16, 2023 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants