Skip to content

Instantly share code, notes, and snippets.

@dameyerdave
Last active December 7, 2023 09:58
Show Gist options
  • Save dameyerdave/e9b7339a50bfb9a24a43896c0ee7bf53 to your computer and use it in GitHub Desktop.
Save dameyerdave/e9b7339a50bfb9a24a43896c0ee7bf53 to your computer and use it in GitHub Desktop.
Run Github workflows locally
1. Add a '.secrets' file with the content:
DOCKER_PASS=secret
2. Run
act --secret-file .secrets -s GITHUB_TOKEN="$(gh auth token)" -j <job>
3. Get more information here:
https://earthly.dev/blog/using-github-actions-locally/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment