We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7e23fa commit 4cbe28dCopy full SHA for 4cbe28d
.github/workflows/build-containers.yml
@@ -91,7 +91,7 @@ jobs:
91
- name: Set up additional flags
92
if: ${{ matrix.container == 'core' }}
93
# TODO: Proper versioning
94
- run: echo "ADDITIONAL_GO_FLAGS=-ldflags=\"-X github.com/goharbor/harbor/src/lib/config.GitCommit=$(git rev-parse HEAD) -X github.com/goharbor/harbor/src/lib/config.ReleaseVersion=dev\"" >> $GITHUB_ENV
+ run: echo 'ADDITIONAL_GO_FLAGS=-ldflags="-X github.com/goharbor/harbor/src/lib/config.GitCommit=$(git rev-parse HEAD) -X github.com/goharbor/harbor/src/lib/config.ReleaseVersion=dev"' >> $GITHUB_ENV
95
- name: Build binary
96
if: ${{ matrix.build_binary != '' }}
97
run: |
0 commit comments