Bo-Yi Wu 0d1a3ae368
ci: implement Docker image CI/CD workflow
- 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>
2024-02-20 09:43:08 +08:00
2024-01-27 14:49:10 +00:00
2024-01-27 23:05:15 +08:00
2024-01-27 14:49:10 +00:00
2024-01-27 23:05:15 +08:00

go

Gitea actions example for Golang. Starting with Gitea 1.19, Gitea Actions are available as a built-in CI/CD solution.

Description
No description provided
Readme 68 KiB
Languages
Makefile 65.3%
Go 20.7%
Dockerfile 14%