Skip to content

Commit

Permalink
first go at creating the build action
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed Apr 11, 2024
1 parent 4f6b3aa commit 0209f41
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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 -c '{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 }}

0 comments on commit 0209f41

Please sign in to comment.