Files
provider-rke2/.github/workflows/pull_request.yaml
Nianyu Shen bad8529659 chore: switch to us-docker.pkg.dev for image repo (#73)
* rename edge-standard to agent-mode; edge-agent to palette-agent

Signed-off-by: Nianyu Shen <xiaoyu9964@gmail.com>

* chore: switch to us-docker.pkg.dev for image repo

Signed-off-by: Nianyu Shen <xiaoyu9964@gmail.com>

---------

Signed-off-by: Nianyu Shen <xiaoyu9964@gmail.com>
2024-10-03 00:46:27 -07:00

37 lines
913 B
YAML

name: Pull Request
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker-practice/actions-setup-docker@master
- uses: earthly/actions-setup@v1
with:
version: "latest"
- run: earthly --ci +lint
build-provider-package:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/checkout@v4
- uses: docker-practice/actions-setup-docker@master
- uses: earthly/actions-setup@v1
with:
version: "latest"
- uses: docker/login-action@v3
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