Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make it easier to test pull request images #80

Merged
merged 1 commit into from
Dec 8, 2023
Merged

Conversation

djeebus
Copy link
Collaborator

@djeebus djeebus commented Dec 6, 2023

Build an image per PR, keep it up to date, and delete it when the PR closes.

This does 4 things:

  • on PR create/update, build and push an image called 0.0.0-pr## (named this way b/c ghcr requires semver compatible tags)
  • on PR close, delete the 0.0.0-pr## tag
  • once a week, delete untagged images
  • when publishing to main, build and push an image tagged via git describe (something like $LAST_TAG-$NUMCOMMITS-g$HASH)

Copy link

github-actions bot commented Dec 6, 2023

Temporary image deleted.

@djeebus djeebus merged commit 7682e92 into main Dec 8, 2023
3 checks passed
@djeebus djeebus deleted the make-dev-easier branch December 8, 2023 14:37
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.

1 participant