Skip to content

Build and publish Docker images to DockerHub#54

Merged
HealthyPear merged 13 commits intomasterfrom
feature-Docker
Mar 1, 2022
Merged

Build and publish Docker images to DockerHub#54
HealthyPear merged 13 commits intomasterfrom
feature-Docker

Conversation

@HealthyPear
Copy link
Owner

@HealthyPear HealthyPear commented Feb 15, 2022

Requirements

Description

This pull request adds 2 workflows for the protopipe+interface environments (1 for the development versions and 1 with the latest releases) for building Docker images using the Dockerfiles stored in the repo and pushing them to DockerHub.

The development version is created anytime a new PR is merged or something is pushed on master, while the latest release version is only produced when a new release is published (a tag latest and a tag with the name of the release - usually the semantic version - will be created).

The development version is basically just a Fedora + a conda/mamba-base environment, since for development purposes I expect the user (developer) to bind-mount it's own cloned repositories (which contain the conda recipes).

Caveats

This is the first time I do it, so it might not work and require testing.
Documentation will be updated afterward when I am sure it works.

@HealthyPear HealthyPear marked this pull request as draft February 17, 2022 10:36
@HealthyPear HealthyPear linked an issue Feb 17, 2022 that may be closed by this pull request
- Docker dev env does not clone repos
- Latest release conda env does not install interface
- centos8 is dead, using fedora
- using cache registry
- fix actions versions
- change behaviour to latest release to only release
- update secrets names
@HealthyPear HealthyPear requested a review from kosack February 23, 2022 21:01
@HealthyPear HealthyPear marked this pull request as ready for review February 23, 2022 21:01
Copy link
Collaborator

@kosack kosack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for info: RockyLinux is now a drop-in replacement for the old CentOS which no longer has fixed releases. However, I think going with Fedora here is fine (but using fedora-latest could cause it to break in the future, so might want to fix it to a version). That can come later though

@HealthyPear HealthyPear merged commit 4a5b4ab into master Mar 1, 2022
@HealthyPear HealthyPear deleted the feature-Docker branch March 1, 2022 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create container Docker for python3-based installation

2 participants