Last active
November 20, 2023 05:32
-
-
Save juanonsoftware/b501d347a63342cbaffe2aa982e20b58 to your computer and use it in GitHub Desktop.
Configure Self-hosted Runners & Deploy from Docker Hub
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Trigger a build from Github Actions, then deploy an application running in Docker on our "Laptop". | |
Add a self-hosted runners and execute scripts to deploy docker containers | |
1. Go to repo settings to add new hosted runner | |
2. Config the runner (Windows) | |
3. Create a new workflow yml file & job to use the configured runner | |
4. The flow will be triggered on workflow_run event, like in this sample https://github.com/juanonsoftware/PocGithubActionsDotNet/blob/main/.github/workflows/cd-develop-docker.yml | |
5. The flow only run when another workflow completed | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment