Skip to content

Improve CI pipeline and image version tagging - #15

Merged
finkandreas merged 6 commits into
finkandreas:mainfrom
sgozel:7-ci-pipeline
Nov 6, 2026
Merged

finkandreas merged 6 commits into
finkandreas:mainfrom
sgozel:7-ci-pipeline

Conversation

@sgozel

@sgozel sgozel commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

Improve the CI pipeline, in particular the process of tagging images pushed to the registry.

Images are now pushed with the following tags:

  • sha-<short commit hash> : on every push to the main branch (which is triggered by a merged PR)
  • edge : on every push to the main branch. Follows the latest version on main

Moreover, the following tags are created when generating a Release of the code:

  • x.y.z, x.y and x, which follow each type of revision when a new release occurs
  • latest : automatically generated by docker/metadata-action@v6 based on the latest release

Effect on current deployment:

  • non-breaking. Still reads the old hard-coded 1.0
  • To use the newest image: either pull edge, or release a first Release of the code (there is no Release at this point) and pull based on the correct tag

- hpcdata:1.0 [as used until now]
- hpcdata:sha-... [new, commit sha of main]
- hpcdata:latest [new, always the latest main build]
- update all actions to their latest versions (eg actions/checkout@v7, ...)
- add a step to generate the image tag. latest keeps track of the latest
  release, not the latest version on main. Latest version on main
  corresponds to edge tag
- add an attestation step for the generated image
@sgozel sgozel changed the title 7 ci pipeline Improve CI pipeline and image version tagging Oct 30, 2026
@sgozel sgozel linked an issue Oct 30, 2026 that may be closed by this pull request
Comment thread .github/workflows/build.yml Resolved
@finkandreas
finkandreas merged commit c41d180 into finkandreas:main Nov 6, 2026
1 check passed
@sgozel
sgozel deleted the 7-ci-pipeline branch November 6, 2026 15:59
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.

improve CI pipeline

2 participants