Skip to content

adding platform

adding platform #9

Workflow file for this run

name: Build core and operator images

Check failure on line 1 in .github/workflows/build-images.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-images.yaml

Invalid workflow file

`jobs` is not a valid event name
on:
push:
branches:
- release
paths:
# run only on changes of code files
- '**.go'
- '**.java'
- '**/build.gradle'
- '**/Dockerfile'
- '.github/workflows/build-image*.yaml'
jobs:
core:
uses: ./.github/workflows/build-image-job.yaml
with:
dockerfile: ./Dockerfile
registry: ghcr.io
image: ghcr.io/${{ github.repository_owner }}/paladin
image_tag: ${{ github.ref_name }}
platforms: linux/amd64,linux/arm64
push: true
secrets:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
operator:
uses: ./.github/workflows/build-image-job.yaml
with:
dockerfile: ./operator/Dockerfile
registry: ghcr.io
image: ghcr.io/${{ github.repository_owner }}/paladin-operator
image_tag: ${{ github.ref_name }}
platforms: linux/amd64,linux/arm64
push: true
secrets:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}