Skip to content

first go at creating the build action #1

first go at creating the build action

first go at creating the build action #1

Workflow file for this run

name: Build and Publish Docker Images
on:
push:
jobs:
buildmatrix:
name: Create Build Matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: Set up matrix
id: set-matrix
run: |
echo "matrix=$(curl https://download.dokuwiki.org/version | jq '{release: [.[]]}'" >> $GITHUB_OUTPUT
build:
needs: buildmatrix
name: Build Docker Images
runs-on: ubuntu-latest
strategy:
matrix: ${{fromJson(needs.buildmatrix.outputs.matrix)}}
steps:
- run: echo ${{ matrix.release }}