You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Auto setup sealos
v0.0.2-rc2
Pre-release
We need to create a temporary kubernetes cluster in github actions for running e2e tests in actions.
- sealos run k8s in github actions
See action.yml
Sealos:
steps:
- name: Auto install sealos
uses: labring/[email protected]
with:
sealosVersion: 4.1.3
buildah: false
debug: true
sealctl: true
- name: Sealos version
uses: labring/[email protected]
with:
type: version
- name: Login sealos
uses: labring/[email protected]
with:
type: login
username: labring
password: ${{ secrets.REGISTRY }}
registry: docker.io
- name: Build sealos image by dockerfile
uses: labring/[email protected]
with:
type: build
image: ghcr.io/${{ github.repository_owner }}/testactionimage:dockerfile
debug: true
working-directory: test/build-dockerfile
- name: Build sealos image by kubefile
uses: labring/[email protected]
with:
type: build
image: ghcr.io/${{ github.repository_owner }}/testactionimage:kubefile
debug: true
working-directory: test/build-kubefile
- name: Push sealos image
uses: labring/[email protected]
with:
type: push
image: ghcr.io/${{ github.repository_owner }}/testactionimage:dockerfile
debug: true
- name: Run images
uses: labring/[email protected]
with:
type: images
debug: true
- name: Auto install k8s using sealos
uses: labring/[email protected]
with:
image: labring/kubernetes:v1.24.0
debug: true
type: run
Name | Description | Default |
---|---|---|
image |
kubernetes rootfs image | labring/kubernetes:v1.24.0 |
sealosVersion |
sealos version | 4.1.3 |
buildah |
install buildah to /usr/bin | false |
debug |
debug mode | false |
sealctl |
install sealctl to /usr/bin | false |
sealos: Supports cluster image
, it is very convenient to install helm, ingress, cert-manager, @see https://sealos.io
- support sealos run k8s and app in action
- support install buildah param
- support working-directory
- support sealctl
- support debug mode
- support install/build/run-k8s/run-app/login/push/version/images
- support sealos,sealctl (url,file,oci),not release version