Skip to content

Commit

Permalink
fix binary build && ci job rolling-release-images
Browse files Browse the repository at this point in the history
  • Loading branch information
nixargh committed Sep 10, 2024
1 parent f1120c4 commit dacd7a5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ jobs:
draft: true

rolling-release-images:
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
env:
PROD_IMAGE_NAME: ghcr.io/${GITHUB_REPOSITORY}
# needs: [check, unit-test, integration-test-cli, integration-test-k8s, helm-chart-test]
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [0.12.1] - 2024-09-10
### Fixed
- `CI` do not run **rolling-release-images** job on tags.
- `scripts/build/bin/build-raw.sh` add **-buildvcs=false** flag (`Use -buildvcs=false to always omit version control information`).

## [0.12.0] - 2024-09-09
**WARNING!**
`integration-test-k8s` CI job is disabled because tests don't pass and I've failed to realise why it is so. We don't use Kubernetes related stuff for the time being, so I'm going to address this later in next releases.
Expand Down
2 changes: 1 addition & 1 deletion scripts/build/bin/build-raw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ f_ver="-X ${version_path}=${VERSION:-dev}"

# Build binary.
echo "[*] Building binary at ${final_out} (GOOS=${GOOS:-}, GOARCH=${GOARCH:-}, GOARM=${GOARM:-}, VERSION=${VERSION:-}, EXTENSION=${EXTENSION:-})"
CGO_ENABLED=0 go build -o ${final_out} --ldflags "${ldf_cmp} ${f_ver}" ${src}
CGO_ENABLED=0 go build -o ${final_out} --ldflags "${ldf_cmp} ${f_ver}" -buildvcs=false ${src}

0 comments on commit dacd7a5

Please sign in to comment.