Support ProviderOptions from the Kairos SDK; export constants for yip… #275
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: Pull Request | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: docker-practice/actions-setup-docker@master | |
- uses: earthly/actions-setup@v1 | |
with: | |
version: "v0.6.30" | |
- run: earthly --ci +lint | |
build-provider-package: | |
runs-on: ubuntu-latest | |
permissions: | |
packages: write | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: docker-practice/actions-setup-docker@master | |
- uses: earthly/actions-setup@v1 | |
with: | |
version: "v0.6.30" | |
- uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- run: earthly --ci +provider-package-all-platforms --IMAGE_REPOSITORY=ghcr.io/kairos-io | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
strategy: | |
matrix: | |
base-image: | |
- quay.io/kairos/core-opensuse-leap:v2.3.2 | |
- quay.io/kairos/core-ubuntu-20-lts:v2.3.2 | |
- quay.io/kairos/core-ubuntu-22-lts:v2.3.2 | |
k3s-version: | |
- v1.25.0+k3s1 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: docker-practice/actions-setup-docker@master | |
- uses: earthly/actions-setup@v1 | |
with: | |
version: "v0.6.30" | |
- run: earthly --ci +docker-all-platforms --K3S_VERSION=${{ matrix.k3s-version }} --BASE_IMAGE=${{ matrix.base-image }} |