chore(deps): update githubactions to v0.19.0 #163
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test UDS Capability | |
on: | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
- "docs/**" | |
- "CODEOWNERS" | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
test-clean-install: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
image: ["rancher/k3s"] | |
version: ["v1.29.8-k3s1", "v1.30.4-k3s1", "v1.31.0-k3s1"] | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Install UDS CLI | |
uses: defenseunicorns/setup-uds@b987a32bac3baeb67bfb08f5e1544e2f9076ee8a # v1.0.0 | |
with: | |
# renovate: datasource=github-tags depName=defenseunicorns/uds-cli versioning=semver | |
version: v0.19.0 | |
- name: Environment setup | |
run: | | |
uds run actions:setup-environment \ | |
--set REGISTRY1_USERNAME="${{ secrets.IRON_BANK_ROBOT_USERNAME }}" \ | |
--set REGISTRY1_PASSWORD="${{ secrets.IRON_BANK_ROBOT_PASSWORD }}" \ | |
--set GH_TOKEN="${{ secrets.GITHUB_TOKEN }}" \ | |
--set CHAINGUARD_IDENTITY="${{ secrets.CHAINGUARD_IDENTITY }}" | |
shell: bash | |
# Step is not currently being used, could be uncommented if custom image support is needed in the future | |
# - name: Build the custom k3s image | |
# if: ${{matrix.image}} != "rancher/k3s" | |
# run: uds run build-image --set VERSION=${{matrix.version}} --no-progress | |
- name: Create and deploy the uds-k3d package | |
run: uds run --set IMAGE_NAME=${{matrix.image}} --set VERSION=${{matrix.version}} --no-progress | |
- name: Validate uds-k3d package | |
run: uds run validate --no-progress |