Skip to content

Commit 1410004

Browse files
authored
Merge pull request #1927 from kube-logging/fix/version-info
fix(ci-release): version info
2 parents 12bc620 + 5c23368 commit 1410004

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/artifacts.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
labels: ${{ steps.meta.outputs.labels }}
131131
cache-from: type=gha
132132
cache-to: type=gha,mode=max
133-
build-args: GO_BUILD_FLAGS=-ldflags=-X=github.com/kube-logging/logging-operator/pkg/sdk/logging/api/v1beta1.Version=${{ inputs.version }}
133+
build-args: GO_BUILD_FLAGS=-ldflags=-X=github.com/kube-logging/logging-operator/pkg/sdk/logging/api/v1beta1.Version=${{ inputs.version }}-full
134134
outputs: ${{ steps.build-output.outputs.value }},name=target,annotation-index.org.opencontainers.image.description=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.description'] }}
135135
# push: ${{ inputs.publish }}
136136

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
name: Artifacts
1313
uses: ./.github/workflows/artifacts.yaml
1414
with:
15-
version: ${{ github.event.release.tag_name}}
15+
version: ${{ github.ref_name }}
1616
publish: true
1717
release: true
1818
permissions:

0 commit comments

Comments
 (0)