2 Commits
v0.0.2 ... main

Author SHA1 Message Date
appleboy
741442ba9a ci: enhance Docker workflow with ARM64 support and caching
- Add support for `linux/arm64` platform in Docker workflow
- Enable build cache from and to registry in Docker workflow

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2024-06-22 11:04:57 +08:00
Bo-Yi Wu
bfe56a1c59 ci: update testing workflow and changelog configuration
- Update golangci-lint-action from v3 to v6 in testing workflow
- Remove specific version (v1.56.2) for golangci-lint-action in testing workflow
- Add changelog format specification in .goreleaser.yaml

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-06-12 10:11:22 +08:00
3 changed files with 6 additions and 3 deletions

View File

@@ -90,10 +90,12 @@ jobs:
ACTIONS_RUNTIME_TOKEN: "" ACTIONS_RUNTIME_TOKEN: ""
with: with:
context: . context: .
platforms: linux/amd64 platforms: linux/amd64, linux/arm64
file: docker/Dockerfile file: docker/Dockerfile
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.docker-meta.outputs.tags }} tags: ${{ steps.docker-meta.outputs.tags }}
labels: ${{ steps.docker-meta.outputs.labels }} labels: ${{ steps.docker-meta.outputs.labels }}
provenance: false provenance: false
sbom: false sbom: false
cache-from: type=registry,ref=gitea/example-go:buildcache
cache-to: type=registry,ref=gitea/example-go:buildcache,mode=max

View File

@@ -34,9 +34,8 @@ jobs:
/go_cache /go_cache
key: go_path-${{ steps.hash-go.outputs.hash }} key: go_path-${{ steps.hash-go.outputs.hash }}
- name: golangci-lint - name: golangci-lint
uses: golangci/golangci-lint-action@v3 uses: golangci/golangci-lint-action@v6
with: with:
version: v1.56.2
args: --timeout 5m args: --timeout 5m
testing: testing:
name: check and test name: check and test

View File

@@ -25,6 +25,8 @@ changelog:
# Default is empty # Default is empty
sort: asc sort: asc
format: "{{ .SHA }} {{ .Message }} @{{ .AuthorUsername }} ({{ .AuthorName }})"
# Group commits messages by given regex and title. # Group commits messages by given regex and title.
# Order value defines the order of the groups. # Order value defines the order of the groups.
# Proving no regex means all commits will be grouped under the default group. # Proving no regex means all commits will be grouped under the default group.