Skip to content

refactor CI pipeline and add manual trigger - #13

Merged
finkandreas merged 3 commits into
finkandreas:mainfrom
sgozel:12-github-action-prevent-push-docker-image
Oct 30, 2026
Merged

finkandreas merged 3 commits into
finkandreas:mainfrom
sgozel:12-github-action-prevent-push-docker-image

Conversation

@sgozel

@sgozel sgozel commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator
  • avoid login and pushing the docker image on non-main events
  • add a manual trigger of the CI pipeline

- avoid login and pushing the docker image on non-main events
@sgozel

sgozel commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator Author

Goal here is just to have a clean(er) CI history, avoiding failing CI runs because of unauthorized push of the image.

The version tag is defined as an env as it is used in 2 different places (lines 25 and 40), to avoid inconsistency.
Let's review this general practice separately.

ERROR: failed to build: Cache export is not supported for the docker driver.
Switch to a different driver, or turn on the containerd image store, and try again.
Learn more at https://docs.docker.com/go/build-cache-backends/
spotted through warning in CI pipeline
@sgozel

sgozel commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator Author

on non-(login+push) CI run, CI exec time goes from around 2min20s to 3min20s.
Login + push part is expected to be non-significant, provided the caching works.

@finkandreas
finkandreas merged commit 499e06e into finkandreas:main Oct 30, 2026
1 check passed
@sgozel
sgozel deleted the 12-github-action-prevent-push-docker-image branch November 6, 2026 16:00
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