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

Automate pushing fluree/server Docker image to Docker Hub in CI/CD pipeline #51

Open
cap10morgan opened this issue Apr 16, 2024 · 0 comments

Comments

@cap10morgan
Copy link
Contributor

cap10morgan commented Apr 16, 2024

When a new commits land on the main branch, we should build and push Docker images to Docker Hub for latest, main, and the long git sha of the HEAD commit in our GitHub Actions CI/CD pipeline.

make docker-push does latest and git sha, so we'd want to add in the branch name if we use that here (and we probably should).

We should also push release tags when there is a git tag of the format ^v(\d+\.\d+\.\d+(?:-.+)?)$. The Docker tag should be the contents of the capture group in the regex (i.e. everything except the leading v).

At some point, possibly when we implement this ticket, we should change latest to only be pushed for the latest release tag, not the latest main HEAD. That's mostly a question of when server is ready for that shift.

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

No branches or pull requests

1 participant