Skip to content

Commit a329074

Browse files
committed
[lwpm] sync support oci
Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>
1 parent 88dea89 commit a329074

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,16 @@ jobs:
7575
run: sudo systemctl stop mysql
7676
if: |
7777
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
7888
- name: Test
7989
run: |
8090
QUITE=true ./lnmp-docker test development
@@ -133,16 +143,16 @@ jobs:
133143
-t ghcr.io/khs1994/lwpm \
134144
-t docker.cnb.cool/khs1994-docker/lwpm/lwpm \
135145
-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
146156
- name: build and push [ lrew ] image
147157
if: |
148158
contains( github.event.head_commit.message, '[lrew]' )

0 commit comments

Comments
 (0)