Skip to content

Commit

Permalink
Another try to fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
ybizeul committed Aug 22, 2023
1 parent d6ed486 commit 175d976
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ jobs:

# Build docker image
- uses: ko-build/[email protected]
- run: GOFLAGS="-ldflags=-X=main.version=$(VERSION)" ko build -B --platform all --sbom none ./cmd/ybfeed
- run: GOFLAGS="-ldflags=-X=main.version=$VERSION" ko build -B --platform all --sbom none ./cmd/ybfeed
env:
KO_DOCKER_REPO: ghcr.io/ybizeul
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ jobs:

# Build docker image
- uses: ko-build/[email protected]
- run: GOFLAGS="-ldflags=-X=main.version=$(VERSION)" ko build -B --platform all --sbom none --tags "$VERSION,latest" ./cmd/ybfeed
- run: GOFLAGS="-ldflags=-X=main.version=$VERSION" ko build -B --platform all --sbom none --tags "$VERSION,latest" ./cmd/ybfeed
env:
KO_DOCKER_REPO: ghcr.io/ybizeul

0 comments on commit 175d976

Please sign in to comment.