fix/workflow-standard
master
Migrate from the artifact-based single-workflow pattern to the standard htpasswd 4-workflow pattern for Docker CI/CD on Gitea Actions.
Created 4 workflow files under .gitea/workflows/:
.gitea/workflows/
main.yaml
github-tag-action
jcabillot/unrar:${{ github.sha }}
cron.yaml
0 0 * * *
jcabillot/unrar:latest
jcabillot/unrar:<tag>-latest
pr.yaml
tag.yaml
v*
jcabillot/unrar:<tag>
docker/setup-buildx-action
docker/metadata-action
docker/build-push-action
docker tag
docker push
docker/login-action
actions/checkout
df4cb1c069e1874edd31b4311f1884172cec0e10
hadolint/hadolint-action
54c9adbab1582c2ef04b2016b760714a4bfde3cf
d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5
650006c6eb7dba73a995cc03b0b2d7f5ca915bee
80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9
f9f3042e7f2789586610d6e8b85c8f03e5195baf
anothrNick/github-tag-action
4ed44965e0db8dab2b466a16da04aec3cc312fd8
Note: No test scripts (tests/test.sh) were created — the test jobs run docker build -t ci-image:${{ github.sha }} . only.
tests/test.sh
docker build -t ci-image:${{ github.sha }} .
No dependencies set.
The note is not visible to the blocked user.
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.