Skip to content

ci: use docker/bake-action. #134

ci: use docker/bake-action.

ci: use docker/bake-action. #134

Workflow file for this run

name: Base image build

Check failure on line 1 in .github/workflows/base-image.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/base-image.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: bake
on:
push:
tags:
- 'v*'
branches:
- main
pull_request:
jobs:
bake:
runs-on: ubuntu-latest
steps:
build_and_push:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
strategy:
matrix:
image:
- { dir: base, name: lnls-debian-11-epics-7 }
- { dir: base/musl, name: lnls-alpine-3.18-epics-7 }
env:
TAG: ${{ github.event_name == 'push' && github.ref_name || github.head_ref }}
REGISTRY: ghcr.io/${{ github.repository_owner }}
IMAGE: ${{ matrix.image.name }}
SOURCE: https://github.com/${{ github.repository }}
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: docker/bake-action@v4
with:
workdir: ${{ matrix.image.dir }}
files: docker-compose.yml