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 b87a754
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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
echo $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 b87a754

Please sign in to comment.