File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 1717jobs :
1818 build :
1919 runs-on : ubuntu-latest
20+ strategy :
21+ matrix :
22+ version : [mysql57, mysql80]
2023 steps :
2124 - name : Set up QEMU
2225 uses : docker/setup-qemu-action@v1
@@ -30,10 +33,19 @@ jobs:
3033 username : ${{ secrets.DOCKERHUB_USERNAME }}
3134 password : ${{ secrets.DOCKERHUB_TOKEN }}
3235
33- - name : Build and push
34- id : docker_build
36+ - name : Build and push mysql57 sidecar
3537 uses : docker/build-push-action@v2
38+ if : ${{ matrix.version }} == mysql57
3639 with :
3740 push : true
3841 file : Dockerfile.sidecar
39- tags : radondb/mysql-sidecar:${{ inputs.image_tag }}
42+ tags : radondb/${{ matrix.version }}-sidecar:${{ inputs.image_tag }}
43+
44+ - name : Build and push mysql80 sidecar
45+ uses : docker/build-push-action@v2
46+ if : ${{ matrix.version }} == mysql80
47+ with :
48+ push : true
49+ file : Dockerfile.sidecar
50+ tags : radondb/${{ matrix.version }}-sidecar:${{ inputs.image_tag }}
51+ build-args : --build-arg XTRABACKUP_PKG=percona-xtrabackup-80
You can’t perform that action at this time.
0 commit comments