File tree Expand file tree Collapse file tree 2 files changed +33
-14
lines changed
Expand file tree Collapse file tree 2 files changed +33
-14
lines changed Original file line number Diff line number Diff line change 2020 contents : read
2121 packages : write
2222
23+ strategy :
24+ matrix :
25+ example :
26+ - min
27+ - full
28+
2329 steps :
2430 - name : Checkout repository
2531 uses : actions/checkout@v3
@@ -39,27 +45,24 @@ jobs:
3945 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4046 if : github.ref == 'refs/heads/master'
4147
42- - name : build Dockerfile min_build
43- run : cp examples/min_build .yaml ./build.yaml && sh render.sh .
48+ - name : build Dockerfile ${{ matrix.example }}
49+ run : cp examples/${{ matrix.example }}_build .yaml ./build.yaml && sh render.sh .
4450
45- - name : Build and push dmc:min
51+ - name : Build and push dmc:${{ matrix.example }}
4652 uses : docker/build-push-action@v3.1.1
4753 with :
4854 context : .
4955 push : false
50- tags : min
56+ tags : ${{ matrix.example }}
5157
52- - name : Test $IMAGE_NAME:min
58+ - name : Test $IMAGE_NAME:${{ matrix.example }}
5359 run : |
54- docker run --rm dmc:min
60+ docker run --rm dmc:${{ matrix.example }}
5561
56- - name : Build and push dmc:full
62+ - name : Build and push dmc:${{ matrix.example }}
5763 uses : docker/build-push-action@v3.1.1
5864 with :
5965 context : .
60- push : false
61- tags : $IMAGE_NAME:full
62-
63- - name : Test dmc:full
64- run : |
65- docker run --rm dmc:full
66+ push : true
67+ tags : ${{ matrix.example }}
68+ if : github.ref == 'refs/heads/master'
Original file line number Diff line number Diff line change @@ -16,6 +16,18 @@ The DMC provides a Dockerfile template that creates the Dockerfile with the desi
1616
1717The DMC uses the wakemeops as base setup, for more information about wakemeops look at the [ docs] ( https://docs.wakemeops.com/ ) .
1818
19+ ### Try
20+
21+ For a quick overview and test of the DMC, we have created images based on the minimal and full examples that can be used directly.
22+
23+ ``` bash
24+ # minimal
25+ docker run ghcr.io/T-Systems-MMS/dmc:min
26+
27+ # full
28+ docker run ghcr.io/T-Systems-MMS/dmc:full
29+ ```
30+
1931## Usage
2032
2133### Setup and Configuration
@@ -138,4 +150,8 @@ sh migrate.sh .
138150
139151## Examples
140152
141- Examples for the ` build.yaml ` could be found under [ examples] ( examples ) [[ minimum] ( examples/min_build.yaml ) , [ full] ( examples/full_build.yaml )]
153+ Examples for the ` build.yaml ` could be found under [ examples] ( examples ) [ minimal] ( examples/min_build.yaml ) , [ full] ( examples/full_build.yaml )]
154+
155+ ## Others
156+
157+ Feedback, suggestions for improvement and expansion, and of course collaboration are expressly desired.
You can’t perform that action at this time.
0 commit comments