https://github.com/dersimn/github-actions-dependabot-docker-build-with-semver-tags-and-multiple-flavors
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dersimn/github-actions-dependabot-docker-build-with-semver-tags-and-multiple-flavors
- Owner: dersimn
- Created: 2024-10-21T16:46:39.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2025-02-25T20:14:53.000Z (5 months ago)
- Last Synced: 2025-02-25T21:23:56.955Z (5 months ago)
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Secret must be set under `Secrets and Variables > Dependabot`, API:
- Fine-grained personal access token basically that's the same that you specify in YAML for `GITHUB_TOKEN`
- Classic Token needs scopes `repo`, `workflow`, `write:packages`## Clean Testing
For clean testing, re-create the Repository on GitHub when it gets to polluted with Tags and Releases:
gh repo delete --yes
gh repo create --public ${${$(git remote get-url origin)##*/}%.git}
gh secret set DEPENDABOT_TOKEN --body '' --app dependabot
gh secret set SEMANTIC_RELEASE_TOKEN --body ''
gh secret set DOCKERHUB_TOKEN --body ''git tag | xargs git tag -d
git push -u origin master