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 0912092 commit 98dbdc0Copy full SHA for 98dbdc0
.github/workflows/build-containers.yml
@@ -88,7 +88,8 @@ jobs:
88
- name: Set up additional flags
89
if: ${{ matrix.container == 'core' }}
90
# TODO: Proper versioning
91
- 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
92
+
93
- name: Build binary
94
if: ${{ matrix.build_binary != '' }}
95
run: |
0 commit comments