From 7c992cde406f6fef98eb701f44cbb50dab11445c Mon Sep 17 00:00:00 2001 From: Aneesh Puttur Date: Sun, 9 Feb 2025 09:19:31 -0500 Subject: [PATCH] Update build-bundle-image.yaml --- .github/workflows/build-bundle-image.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-bundle-image.yaml b/.github/workflows/build-bundle-image.yaml index 1e4f1fa29..d3426fde8 100644 --- a/.github/workflows/build-bundle-image.yaml +++ b/.github/workflows/build-bundle-image.yaml @@ -24,12 +24,12 @@ jobs: password: ${{secrets.GITHUB_TOKEN}} - name: 'Build Bundle Image' - env: - VERSION: $(git describe --tags --abbrev=0 || echo "0.1.0") - IMAGE_TAG_BASE: ghcr.io/${{ github.repository }}:$VERSION - BUNDLE_IMG: ghcr.io/${{ github.repository }}:$VERSION-bundle:v$VERSION - BUNDLE_GEN_FLAGS: -q --overwrite --version $VERSION --extra-service-accounts "linuxptp-daemon" run: | + VERSION=$(git describe --tags --abbrev=0 || echo "0.1.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 BUNDLE_GEN_FLAGS="-q --overwrite --version $VERSION --extra-service-accounts \"linuxptp-daemon\"" make bundle make bundle-build make bundle-push