Skip to content

Move dockerfiles in subdirectory #1099

Move dockerfiles in subdirectory

Move dockerfiles in subdirectory #1099

Workflow file for this run

---
name: CI
on:
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- master
paths-ignore:
- '**.md'
schedule:
- cron: 0 0 * * *
jobs:
matrix:
runs-on: ubuntu-latest
outputs:
versions: ${{ steps.data.outputs.versions }}
contexts: ${{ steps.data.outputs.contexts }}
excludes: ${{ steps.data.outputs.excludes }}
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
- name: Setup variables
id: data
run: |
echo "versions=$(bin/images --json | jq -c '.github.versions')" >> $GITHUB_OUTPUT
echo "contexts=$(bin/images --json | jq -c '.github.contexts')" >> $GITHUB_OUTPUT
echo "excludes=$(bin/images --json | jq -c '.github.excludes')" >> $GITHUB_OUTPUT
build:
needs: matrix
strategy:
fail-fast: false
matrix:
version: ${{ fromJson(needs.matrix.outputs.versions) }}
context: ${{ fromJson(needs.matrix.outputs.contexts) }}
exclude: ${{ fromJson(needs.matrix.outputs.excludes) }}
uses: ./.github/workflows/build.yml
with:
version: ${{ matrix.version }}
context: ${{ matrix.context }}
secrets: inherit