Skip to content

Improve Docker build pipeline #1043

Description

@visr

On TeamCity we have a Build Docker pipeline: https://dpcbuild.deltares.nl/buildConfiguration/wflow_BuildDocker
That builds this Dockerfile: https://github.com/Deltares/Wflow.jl/blob/cda971966edad224cdf51910bafe0c6cf36f9c97/Dockerfile
And if I understand correctly always uploads the result under both the latest and <branchname> tag to https://hub.docker.com/r/deltares/wflow, done with this user: https://hub.docker.com/u/delft3dgt

The pipeline works now, although some of the published tags are wrong: #980. And probably all the old non vx.y.z can be removed. We probably should not automatically publish development branches, unless we really want that.

I don't know too much about building Docker images, but since it was originally built years ago, the Wflow Docker pipeline hasn't been maintained much, and Deltares best practices have evolved. So the whole pipeline needs a review. For instance instead of Docker Hub I think we use Harbor now. It should be part of a release process, so we can easily publish tags, and have dev docs, so we can maintain it.

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions