Skip to content

Commit e4bd528

Browse files
author
anton.voskresensky
committed
fix version
1 parent de8bc34 commit e4bd528

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
with:
4747
context: .
4848
build-args: |
49-
versionflags=-X 'osctl/cmd/main.appVersion=${{ github.ref_name }}'
49+
versionflags="-X main.appVersion=${{ github.ref_name }}"
5050
push: ${{ github.event_name != 'pull_request' }}
5151
tags: ${{ steps.meta.outputs.tags }}
5252
labels: ${{ steps.meta.outputs.labels }}

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
- name: Build
2222
run: |
23-
versionflags="-X 'osctl/cmd/main.appVersion=${{ github.ref_name }}'"
23+
versionflags="-X main.appVersion=${{ github.ref_name }}"
2424
for GOOS in linux; do
2525
for GOARCH in amd64 arm64; do
2626
export GOOS GOARCH

osctl

34.4 MB
Binary file not shown.

0 commit comments

Comments
 (0)