|
75 | 75 | run: sudo systemctl stop mysql |
76 | 76 | if: | |
77 | 77 | startsWith(matrix.os, 'ubuntu' ) |
| 78 | + - name: build and push [ docker-image-sync ] image |
| 79 | + if: | |
| 80 | + contains( github.event.head_commit.message, '[lwpm]' ) |
| 81 | + && github.event_name == 'push' |
| 82 | + && startsWith(matrix.os, 'ubuntu' ) |
| 83 | + run: | |
| 84 | + docker buildx build -t khs1994/docker-image-sync \ |
| 85 | + -t ghcr.io/khs1994/docker-image-sync \ |
| 86 | + -t docker.cnb.cool/khs1994-docker/khs1994/docker-image-sync \ |
| 87 | + -f windows/docker-image-sync.Dockerfile --push windows |
78 | 88 | - name: Test |
79 | 89 | run: | |
80 | 90 | QUITE=true ./lnmp-docker test development |
@@ -133,16 +143,16 @@ jobs: |
133 | 143 | -t ghcr.io/khs1994/lwpm \ |
134 | 144 | -t docker.cnb.cool/khs1994-docker/lwpm/lwpm \ |
135 | 145 | -f windows/lwpm.Dockerfile --push windows |
136 | | - - name: build and push [ docker-image-sync ] image |
137 | | - if: | |
138 | | - contains( github.event.head_commit.message, '[lwpm]' ) |
139 | | - && github.event_name == 'push' |
140 | | - && startsWith(matrix.os, 'ubuntu' ) |
141 | | - run: | |
142 | | - docker buildx build -t khs1994/docker-image-sync \ |
143 | | - -t ghcr.io/khs1994/docker-image-sync \ |
144 | | - -t docker.cnb.cool/khs1994-docker/khs1994/docker-image-sync \ |
145 | | - -f windows/docker-image-sync.Dockerfile --push windows |
| 146 | + # - name: build and push [ docker-image-sync ] image |
| 147 | + # if: | |
| 148 | + # contains( github.event.head_commit.message, '[lwpm]' ) |
| 149 | + # && github.event_name == 'push' |
| 150 | + # && startsWith(matrix.os, 'ubuntu' ) |
| 151 | + # run: | |
| 152 | + # docker buildx build -t khs1994/docker-image-sync \ |
| 153 | + # -t ghcr.io/khs1994/docker-image-sync \ |
| 154 | + # -t docker.cnb.cool/khs1994-docker/khs1994/docker-image-sync \ |
| 155 | + # -f windows/docker-image-sync.Dockerfile --push windows |
146 | 156 | - name: build and push [ lrew ] image |
147 | 157 | if: | |
148 | 158 | contains( github.event.head_commit.message, '[lrew]' ) |
|
0 commit comments