From bb065cbffee91cb7f9bd8e7bb71bd98def64414a Mon Sep 17 00:00:00 2001 From: Aneesh Puttur Date: Sun, 9 Feb 2025 09:30:52 -0500 Subject: [PATCH] Update build-bundle-image.yaml --- .github/workflows/build-bundle-image.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-bundle-image.yaml b/.github/workflows/build-bundle-image.yaml index de3ff0975..bd0a51a68 100644 --- a/.github/workflows/build-bundle-image.yaml +++ b/.github/workflows/build-bundle-image.yaml @@ -25,12 +25,11 @@ jobs: - name: 'Build Bundle Image' run: | - VERSION=$(git describe --tags --abbrev=0 || echo "1.0.0") + VERSION=1.0 echo "Version is: $VERSION" # Debugging: Print the version export IMG=ghcr.io/${{ github.repository }}:latest - export IMAGE_TAG_BASE="ghcr.io/${{ github.repository }}:latest" + export IMAGE_TAG_BASE="ghcr.io/${{ github.repository }}:$VERSION" export BUNDLE_IMG="ghcr.io/${{ github.repository }}:latest-bundle:v$VERSION" - export BUNDLE_GEN_FLAGS="-q --overwrite --version $VERSION --extra-service-accounts \"linuxptp-daemon\"" make bundle make bundle-build make bundle-push