Skip to content

Commit

Permalink
Merge pull request #1927 from kube-logging/fix/version-info
Browse files Browse the repository at this point in the history
fix(ci-release): version info
  • Loading branch information
csatib02 authored Jan 27, 2025
2 parents 12bc620 + 5c23368 commit 1410004
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: GO_BUILD_FLAGS=-ldflags=-X=github.com/kube-logging/logging-operator/pkg/sdk/logging/api/v1beta1.Version=${{ inputs.version }}
build-args: GO_BUILD_FLAGS=-ldflags=-X=github.com/kube-logging/logging-operator/pkg/sdk/logging/api/v1beta1.Version=${{ inputs.version }}-full
outputs: ${{ steps.build-output.outputs.value }},name=target,annotation-index.org.opencontainers.image.description=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.description'] }}
# push: ${{ inputs.publish }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: Artifacts
uses: ./.github/workflows/artifacts.yaml
with:
version: ${{ github.event.release.tag_name}}
version: ${{ github.ref_name }}
publish: true
release: true
permissions:
Expand Down

0 comments on commit 1410004

Please sign in to comment.