mirror of
https://github.com/kairos-io/provider-rke2.git
synced 2025-08-25 16:38:36 +00:00
Provider framework image (#32)
* Added seperate provider package for custom os builds Signed-off-by: venkatnsrinivasan <venkat@spectrocloud.com>
This commit is contained in:
parent
848d315021
commit
e1709c687b
36
.github/workflows/provider-packaging.yaml
vendored
Normal file
36
.github/workflows/provider-packaging.yaml
vendored
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
name: Publish provider packages
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- v*
|
||||||
|
|
||||||
|
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 --push +provider-package-all-platforms --IMAGE_REPOSITORY=ghcr.io/kairos-io
|
Loading…
Reference in New Issue
Block a user