mirror of
https://github.com/kairos-io/provider-k3s.git
synced 2025-10-20 13:09:00 +00:00
added arm platform builds
This commit is contained in:
5
.github/workflows/publish.yaml
vendored
5
.github/workflows/publish.yaml
vendored
@@ -20,6 +20,9 @@ jobs:
|
||||
- v1.23.9+k3s1
|
||||
- v1.22.11+k3s2
|
||||
- v1.21.14+k3s1
|
||||
platform:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
env:
|
||||
REGISTRY: quay.io
|
||||
REGISTRY_USER: ${{ secrets.QUAY_USERNAME }}
|
||||
@@ -33,6 +36,6 @@ jobs:
|
||||
- run: echo $REGISTRY_PASSWORD | docker login -u $REGISTRY_USER --password-stdin $REGISTRY
|
||||
- run: env | grep ACTIONS_ID_TOKEN_REQUEST > .env
|
||||
- run: env | grep REGISTRY >> .env
|
||||
- run: earthly --ci --push +docker --K3S_VERSION=${{ matrix.k3s-version }} --BASE_IMAGE=${{ matrix.base-image }}
|
||||
- run: earthly --ci --push --platform=${{ matrix.platform }} +docker --K3S_VERSION=${{ matrix.k3s-version }} --BASE_IMAGE=${{ matrix.base-image }}
|
||||
- run: earthly --ci +cosign --K3S_VERSION=${{ matrix.k3s-version }} --BASE_IMAGE=${{ matrix.base-image }}
|
||||
|
||||
|
5
.github/workflows/pull_request.yaml
vendored
5
.github/workflows/pull_request.yaml
vendored
@@ -33,10 +33,13 @@ jobs:
|
||||
- v1.23.9+k3s1
|
||||
- v1.22.11+k3s2
|
||||
- v1.21.14+k3s1
|
||||
platform:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: docker-practice/actions-setup-docker@master
|
||||
- uses: earthly/actions-setup@v1
|
||||
with:
|
||||
version: "latest"
|
||||
- run: earthly --ci +docker --K3S_VERSION=${{ matrix.k3s-version }} --BASE_IMAGE=${{ matrix.base-image }}
|
||||
- run: earthly --ci --platform=${{ matrix.platform }} +docker --K3S_VERSION=${{ matrix.k3s-version }} --BASE_IMAGE=${{ matrix.base-image }}
|
Reference in New Issue
Block a user