- 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>
go
Gitea actions example for Golang. Starting with Gitea 1.19, Gitea Actions are available as a built-in CI/CD solution.
Description
Languages
Makefile
65.3%
Go
20.7%
Dockerfile
14%