Skip to content

Replace travis with GitHub Actions workflow#45

Open
Legion2 wants to merge 4 commits into
bastilimbach:masterfrom
Legion2:docker-workflow
Open

Replace travis with GitHub Actions workflow#45
Legion2 wants to merge 4 commits into
bastilimbach:masterfrom
Legion2:docker-workflow

Conversation

@Legion2

@Legion2 Legion2 commented Jul 5, 2020

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

Legion2 commented Jul 7, 2020

Copy link
Copy Markdown
Contributor Author

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

Legion2 commented Jan 28, 2021

Copy link
Copy Markdown
Contributor Author

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

Legion2 commented Jan 28, 2021

Copy link
Copy Markdown
Contributor Author

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