Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bundle generation #77

Merged
merged 1 commit into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,13 @@ jobs:
echo "PUSH_ON_BUILD=${GENERATE_ARTIFACTS}" >> $GITHUB_ENV
echo "BUILD_MULTI_ARCH_IMAGES=${GENERATE_ARTIFACTS}" >> $GITHUB_ENV
- name: Extract branch name for push events
if: github.event_name == 'push'
id: extract_branch
run: |
BRANCH=${GITHUB_REF#refs/heads/}
BRANCH_NAME=${GITHUB_REF#refs/heads/}
BRANCH="bundle-latest"
if [[ "$BRANCH_NAME" == "main" || "$BRANCH_NAME" == "release-"* ]]; then
BRANCH="bundle-latest-${BRANCH_NAME}"
fi
echo "BRANCH=$BRANCH" >> $GITHUB_ENV
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand All @@ -119,8 +122,8 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build image
env:
BUNDLE_IMAGE_NAME: ghcr.io/${LOWERCASE_REPO_OWNER}/k8s-nim-operator
BUNDLE_IMAGE: ghcr.io/${LOWERCASE_REPO_OWNER}/k8s-nim-operator:bundle-lastest-${{ github.ref }}
BUNDLE_IMAGE_NAME: ghcr.io/nvidia/k8s-nim-operator
BUNDLE_IMAGE: ghcr.io/nvidia/k8s-nim-operator:${BRANCH}
VERSION: '' # Until we cut a release, Version will be null
run: |
echo "${VERSION}"
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/infra/vsphere.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ spec:
kubernetes:
install: true
installer: kubeadm
version: v1.20.3
version: v1.30.3