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 520aba2 commit 7c992cd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-bundle-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7c992cd

Please sign in to comment.