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

Replace travis with GitHub Actions workflow #45

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

Conversation

Legion2
Copy link
Contributor

@Legion2 Legion2 commented Jul 5, 2020

Create docker.yml workflow and removed travis.yml close #43
Also updated docker-entrypoint.sh permissions in git

@bastilimbach setup DOCKER_USERNAME and DOCKER_PASSWORD in the Settings > Secrets

The images are build on push and pull request on any branch. The images a only pushed from the master branch. The workflow is also triggered by cron on the master branch every day at 3:17 UTC.

The workflow uses the docker-buildx action by CrazyMax

I did not test the push to docker hub but only the build operation.

@bastilimbach
Copy link
Owner

Awesome, thank you! 😍 I’ll take a look at this later. Is the docker buildx action by CrazyMax stable? What happens if they doesn’t maintain it any more?

@Legion2
Copy link
Contributor Author

Legion2 commented Jul 7, 2020

If CrazyMax deletes his action we need to find a new one or use a fork. But 139 stars for an action is much so I don't think it will disappear.

@Legion2 Legion2 mentioned this pull request Jul 14, 2020
@Legion2
Copy link
Contributor Author

Legion2 commented Jan 28, 2021

I will update this PR to use the official docker actions https://github.com/crazy-max/ghaction-docker-buildx#moved-to-docker-organization

updated docker-entrypoint.sh permissions in git
added DOCKER_CLI_EXPERIMENTAL=enabled
removed travis.yml
@Legion2
Copy link
Contributor Author

Legion2 commented Jan 28, 2021

Travis.org is shutting down, so this project must be migrated to travis.com or switch to github actions.

klaernie added a commit to klaernie/docker-MagicMirror that referenced this pull request Jan 7, 2022
prep for actually building in github actions, thanks to the fine work by
@Legion2 in bastilimbach#45
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.

Use GitHub actions instead of Travis
2 participants