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

Docker builds and optimized CI workflow #184

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

emersonian
Copy link

I created a Docker build process for Zaino which pushes successful builds to Docker Hub.

The push to Docker Hub only occurs when a git tag is created. The secrets DOCKERHUB_USERNAME and DOCKERHUB_TOKEN will need to be set on this repository for the push functionality to work.

Optionally a Github Release can be automatically created upon tag, which will require the secret GITHUB_TOKEN to be set on this repository.

The action runner can be optionally specified by setting the RUNNER_TYPE variable on this repository.

The Dockerfile caches dependencies for each crate to speed up subsequent builds. The CI workflow should also cache.

Zec.rocks is working towards using these builds to deploy Zaino infrastructure for testing. I welcome feedback and am happy to make adjustments as required.

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