Skip to content

Publish provider packages #8

Publish provider packages

Publish provider packages #8

Workflow file for this run

name: Publish provider packages
on:
workflow_dispatch:
push:
tags:
- v*
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@master
with:
platforms: all
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@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
- name: Set up QEMU
uses: docker/setup-qemu-action@master
with:
platforms: all
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@master
- uses: earthly/actions-setup@v1
with:
version: "latest"
- run: echo "${{ secrets.ARTIFACT_IMG_PUSH_EDGE }}" | docker login -u _json_key --password-stdin https://us-docker.pkg.dev
- run: earthly --ci --output --push +provider-package-all-platforms --IMAGE_REPOSITORY=us-docker.pkg.dev/palette-images/edge/kairos-io