Skip to content

cli: use pooler to run wasm #74

cli: use pooler to run wasm

cli: use pooler to run wasm #74

Workflow file for this run

name: Build Github Packages
on:
push:
branches:
- v0.1
tags: ["v*"]
env:
CARGO_TERM_COLOR: always
concurrency:
group: ghcr-${{ github.ref }}
cancel-in-progress: true
jobs:
dockerize:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- dockerfile: ./deploy/runtime.Dockerfile
image: ghcr.io/${{ github.repository_owner }}/runtime-land-runtime
- dockerfile: ./deploy/edge.Dockerfile
image: ghcr.io/${{ github.repository_owner }}/runtime-land-edge
- dockerfile: ./deploy/center.Dockerfile
image: ghcr.io/${{ github.repository_owner }}/runtime-land-center
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ matrix.image }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Github Container Hub
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
file: ${{ matrix.dockerfile }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}