-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
first go at creating the build action
- Loading branch information
1 parent
4f6b3aa
commit e00a10d
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 '{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 }} |