Skip to content

CI - build headless image #17

CI - build headless image

CI - build headless image #17

Workflow file for this run

name: "CI - build headless image"
on:
push:
branches-ignore:
- "main"
paths:
- "feature/**"
- "headless/**"
- ".github/**"
pull_request:
paths:
- "feature/**"
- "headless/**"
- ".github/**"
schedule:
- cron: "0 8 * * 1" # At 08:00 on Monday
workflow_dispatch: ~
jobs:
ubuntu:
name: "Build headless image on Ubuntu"
runs-on: "${{ matrix.operating-system }}"
strategy:
fail-fast: false
matrix:
operating-system: [ "ubuntu-latest" ]
steps:
- name: "Checkout Code"
uses: "actions/checkout@v3"
- name: "Install Buildx"
id: "buildx"
uses: "crazy-max/ghaction-docker-buildx@v1"
with:
buildx-version: latest
- name: "Build and Push"
run: |
docker buildx build \
--no-cache \
--platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8 headless/ubuntu/