From 0209f4170f1b2745c6b17e3b68eff40d9a2cb1fb Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Thu, 11 Apr 2024 13:53:56 +0200 Subject: [PATCH] first go at creating the build action --- .github/workflows/docker.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/docker.yml diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml new file mode 100644 index 0000000..52f8c27 --- /dev/null +++ b/.github/workflows/docker.yml @@ -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 }}