We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de8bc34 commit e4bd528Copy full SHA for e4bd528
.github/workflows/docker.yml
@@ -46,7 +46,7 @@ jobs:
46
with:
47
context: .
48
build-args: |
49
- versionflags=-X 'osctl/cmd/main.appVersion=${{ github.ref_name }}'
+ versionflags="-X main.appVersion=${{ github.ref_name }}"
50
push: ${{ github.event_name != 'pull_request' }}
51
tags: ${{ steps.meta.outputs.tags }}
52
labels: ${{ steps.meta.outputs.labels }}
.github/workflows/go.yml
@@ -20,7 +20,7 @@ jobs:
20
21
- name: Build
22
run: |
23
- versionflags="-X 'osctl/cmd/main.appVersion=${{ github.ref_name }}'"
24
for GOOS in linux; do
25
for GOARCH in amd64 arm64; do
26
export GOOS GOARCH
osctl
34.4 MB
0 commit comments