chore: migrate to standard 4-workflow Gitea Actions pattern #5
Reference in New Issue
Block a user
Delete Branch "fix/workflow-standard"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Migrate from the artifact-based single-workflow pattern to the standard htpasswd 4-workflow pattern for Docker CI/CD on Gitea Actions.
Changes
Created 4 workflow files under
.gitea/workflows/:main.yaml— Push to mastergithub-tag-actionjcabillot/unrar:${{ github.sha }}cron.yaml— Scheduled nightly rebuild0 0 * * *(daily at midnight)jcabillot/unrar:latestandjcabillot/unrar:<tag>-latestpr.yaml— Pull request checkstag.yaml— Tag release (push tov*)jcabillot/unrar:<tag>andjcabillot/unrar:<tag>-latestKey improvements over artifact pattern
docker/setup-buildx-actionfor modern builder envdocker/metadata-actionfor clean tag generationdocker/build-push-actionreplaces manualdocker tag+docker pushdocker/login-actionfor secure Docker Hub authgithub-tag-actionfor automatic semver versioning on master pushesAction SHAs used
actions/checkoutdf4cb1c069e1874edd31b4311f1884172cec0e10hadolint/hadolint-action54c9adbab1582c2ef04b2016b760714a4bfde3cfdocker/setup-buildx-actiond7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5docker/login-action650006c6eb7dba73a995cc03b0b2d7f5ca915beedocker/metadata-action80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9docker/build-push-actionf9f3042e7f2789586610d6e8b85c8f03e5195bafanothrNick/github-tag-action4ed44965e0db8dab2b466a16da04aec3cc312fd8Note: No test scripts (
tests/test.sh) were created — the test jobs rundocker build -t ci-image:${{ github.sha }} .only.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.