Skip to content

feat: add a new shim for lunatic #12

feat: add a new shim for lunatic

feat: add a new shim for lunatic #12

name: 'Build and push Docker images'
on:
workflow_call:
inputs:
images:
required: true
type: string
platforms:
required: true
type: string
secrets:
GITHUB_TOKEN:

Check failure on line 12 in .github/workflows/docker-build-push.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/docker-build-push.yaml

Invalid workflow file

secret name `GITHUB_TOKEN` within `workflow_call` can not be used since it would collide with system reserved name
required: true
jobs:
build_and_push:
runs-on: ubuntu-latest
strategy:
matrix:
image: ${{fromJson(github.event.inputs.images)}}
steps:
- name: build and push
uses: docker/build-push-action@v3
with:
push: true
tags: |
ghcr.io/deislabs/containerd-wasm-shims/${{ matrix.image.imageName }}:${{ env.RELEASE_VERSION }}
ghcr.io/deislabs/containerd-wasm-shims/${{ matrix.image.imageName }}:latest
context: ${{ matrix.image.context }}
platforms: ${{ github.event.inputs.platforms }}