Skip to content

Commit

Permalink
Update build-bundle-image.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
aneeshkp authored Feb 9, 2025
1 parent 7c992cd commit 0abb8be
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-bundle-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0abb8be

Please sign in to comment.