fix: build pipeline for lunatic shm #55
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / .github/workflows/docker-build-push.yamlInvalid workflow file
|
||
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 }} |