Skip to content

Commit

Permalink
explicit image repo
Browse files Browse the repository at this point in the history
  • Loading branch information
justinthelaw committed Oct 9, 2024
1 parent 31165f9 commit a6d6a81
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/tag-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:

strategy:
matrix:
k3s_version:
k3s_image_repository: ["rancher/k3s"]
k3s_image_version:
["v1.28.8-k3s1", "v1.29.8-k3s1", "v1.30.4-k3s1", "v1.31.0-k3s1"]

permissions:
Expand All @@ -48,8 +49,13 @@ jobs:

- name: Publish the base capability
run: |
uds zarf package create --confirm -a arm64 -o oci://ghcr.io/justinthelaw/packages --set K3S_IMAGE_VERSION=${{ matrix.k3s_version }}
uds zarf package create --confirm -a amd64 -o oci://ghcr.io/justinthelaw/packages --set K3S_IMAGE_VERSION=${{ matrix.k3s_version }}
uds zarf package create --confirm -a arm64 -o oci://ghcr.io/justinthelaw/packages \
--set K3S_IMAGE_REPOSITORY=${{ matrix.k3s_image_repository }} \
--set K3S_IMAGE_VERSION=${{ matrix.k3s_image_version }}
uds zarf package create --confirm -a amd64 -o oci://ghcr.io/justinthelaw/packages \
--set K3S_IMAGE_REPOSITORY=${{ matrix.k3s_image_repository }} \
--set K3S_IMAGE_VERSION=${{ matrix.k3s_image_version }}
publish-uds-cuda-package:
needs: tag-new-version
Expand All @@ -58,9 +64,10 @@ jobs:

strategy:
matrix:
k3s_version:
k3s_image_repository: ["rancher/k3s"]
k3s_image_version:
["v1.28.8-k3s1", "v1.29.8-k3s1", "v1.30.4-k3s1", "v1.31.0-k3s1"]
CUDA_IMAGE_VERSION:
cuda_image_version:
[
11.8.0-base-ubuntu22.04,
12.1.0-base-ubuntu22.04,
Expand All @@ -85,8 +92,9 @@ jobs:
- name: Publish the CUDA K3s image
run: |
uds run publish-cuda-image \
--set K3S_IMAGE_VERSION="${{ matrix.k3s_version }}" \
--set CUDA_IMAGE_VERSION="${{ matrix.CUDA_IMAGE_VERSION }}" \
--set K3S_IMAGE_REPOSITORY=${{ matrix.k3s_image_repository }} \
--set K3S_IMAGE_VERSION="${{ matrix.k3s_image_version }}" \
--set CUDA_IMAGE_VERSION="${{ matrix.cuda_image_version }}" \
--no-progress
- name: Publish the CUDA capability
Expand Down

0 comments on commit a6d6a81

Please sign in to comment.