Bo-Yi Wu
0d1a3ae368
- Add a new GitHub Actions workflow for Docker image creation and push - Trigger the workflow on push to main branch and tags starting with 'v' - Trigger the workflow on pull requests to the main branch - Define environment variable `BUILDKIT_NO_CLIENT_TOKEN` - Set up the workflow to run on `ubuntu-latest` with a specific container image - Include steps for checking out the code, setting up QEMU, and Docker Buildx - Configure Docker Buildx with debug mode and insecure entitlements - Add steps to log in to Docker Hub using secrets for username and password - Generate Docker image tags based on semantic versioning and push conditionally on event type - Build and push Docker image specifying the platform, Dockerfile location, and tag and label metadata - Disable provenance and SBOM (Software Bill of Materials) generation in the build-push action Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> |
||
---|---|---|
.gitea/workflows | ||
router | ||
.gitignore | ||
.goreleaser.yaml | ||
LICENSE | ||
README.md | ||
go.mod | ||
go.sum | ||
main.go |
README.md
go
Gitea actions example for Golang. Starting with Gitea 1.19, Gitea Actions are available as a built-in CI/CD solution.