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 e002635 commit 520aba2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build-bundle-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ jobs:
defaults:
run:
working-directory: '.'
env:
IMAGE_TAG_BASE : ghcr.io/${{ github.repository }}
BUNDLE_IMG: ghcr.io/${{ github.repository }}:latest-bundle:v1.0.0
VERSION: latest
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@main
Expand All @@ -28,6 +24,11 @@ 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: |
make bundle
make bundle-build
Expand Down

0 comments on commit 520aba2

Please sign in to comment.