You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build: docker images for latest release and main branch (#2116)
This PR adds docker image building to the github actions workflow.
Two images are built:
- unstable: This is built from the current branch
- latest: This is built from the version of rdflib in
`docker/latest/requirements.txt`, but as this will be updated by
dependabot it will essentially always be the latest version.
The resulting image references are:
- `ghcr.io/rdflib/rdflib:unstable`
- `ghcr.io/rdflib/rdflib:latest` with an alias
`ghcr.io/rdflib/rdflib:${rdflib_version}`, e.g.
`ghcr.io/rdflib/rdflib:6.2.0`.
As dependabot is conifgured for both pyton and docker dependencies, any
change/update to dependencies will result in a new image being built.
To avoid spurious changes in image digests the existing image is used as
the cache source, so if the requirements.txt and Dockerfile for
`ghcr.io/rdflib/rdflib:latest` has not changed then a new image should
not be published for it even if the build runs.
I have tested this in my forked repo, but there may be some kinks to
still work out.
0 commit comments