From 0abb8be5e31cf8e970a9c8bc27ca3bc4979558f2 Mon Sep 17 00:00:00 2001 From: Aneesh Puttur Date: Sun, 9 Feb 2025 09:24:52 -0500 Subject: [PATCH] Update build-bundle-image.yaml --- .github/workflows/build-bundle-image.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-bundle-image.yaml b/.github/workflows/build-bundle-image.yaml index d3426fde8..de3ff0975 100644 --- a/.github/workflows/build-bundle-image.yaml +++ b/.github/workflows/build-bundle-image.yaml @@ -25,10 +25,11 @@ jobs: - name: 'Build Bundle Image' run: | - VERSION=$(git describe --tags --abbrev=0 || echo "0.1.0") + VERSION=$(git describe --tags --abbrev=0 || echo "1.0.0") echo "Version is: $VERSION" # Debugging: Print the version - export IMAGE_TAG_BASE="ghcr.io/${{ github.repository }}:$VERSION" - export BUNDLE_IMG="ghcr.io/${{ github.repository }}:$VERSION-bundle:v$VERSION" + export IMG=ghcr.io/${{ github.repository }}:latest + export IMAGE_TAG_BASE="ghcr.io/${{ github.repository }}:latest" + 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