This is an automated email from the ASF dual-hosted git repository.

twice pushed a commit to branch PragmaTwice/test-docker-image
in repository https://gitbox.apache.org/repos/asf/kvrocks.git


The following commit(s) were added to refs/heads/PragmaTwice/test-docker-image 
by this push:
     new 632b1530 Update nightly.yaml
632b1530 is described below

commit 632b15302978288e537edb09f42161929ffc346d
Author: Twice <[email protected]>
AuthorDate: Sat Jul 29 12:19:57 2023 +0800

    Update nightly.yaml
---
 .github/workflows/nightly.yaml | 78 +++++++++++++++++++++---------------------
 1 file changed, 39 insertions(+), 39 deletions(-)

diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml
index 1b247c88..52d670d2 100644
--- a/.github/workflows/nightly.yaml
+++ b/.github/workflows/nightly.yaml
@@ -24,54 +24,54 @@ on:
     paths: ['.github/workflows/nightly.yaml']
 
 jobs:
-  publish-nightly-docker-image:
-    name: Publish nightly Docker image
-    runs-on: ubuntu-20.04
-    steps:
+#   publish-nightly-docker-image:
+#     name: Publish nightly Docker image
+#     runs-on: ubuntu-20.04
+#     steps:
 
-      - uses: actions/checkout@v3
-      - name: Login Docker Hub
-        if: (github.event_name != 'pull_request')
-        uses: docker/login-action@v1
-        with:
-          username: ${{ secrets.DOCKER_USERNAME }}
-          password: ${{ secrets.DOCKER_PASSWORD }}
+#       - uses: actions/checkout@v3
+#       - name: Login Docker Hub
+#         if: (github.event_name != 'pull_request')
+#         uses: docker/login-action@v1
+#         with:
+#           username: ${{ secrets.DOCKER_USERNAME }}
+#           password: ${{ secrets.DOCKER_PASSWORD }}
 
-      - name: Set up QEMU
-        uses: docker/setup-qemu-action@v1
+#       - name: Set up QEMU
+#         uses: docker/setup-qemu-action@v1
 
-      - name: Set up Docker Buildx
-        id: buildx
-        uses: docker/setup-buildx-action@v1
+#       - name: Set up Docker Buildx
+#         id: buildx
+#         uses: docker/setup-buildx-action@v1
 
-      - name: Available platforms
-        run: echo ${{ steps.buildx.outputs.platforms }}
+#       - name: Available platforms
+#         run: echo ${{ steps.buildx.outputs.platforms }}
       
-      - name: Get core numbers
-        run: echo "NPROC=$(nproc)" >> $GITHUB_ENV
+#       - name: Get core numbers
+#         run: echo "NPROC=$(nproc)" >> $GITHUB_ENV
 
-      - name: Docker meta
-        id: meta
-        uses: docker/metadata-action@v4
-        with:
-          images: apache/kvrocks
-          flavor: latest=false
-          tags: |
-            type=sha,prefix=nightly-{{date 'YYYYMMDD'}}-,format=short
-            type=raw,value=nightly
+#       - name: Docker meta
+#         id: meta
+#         uses: docker/metadata-action@v4
+#         with:
+#           images: apache/kvrocks
+#           flavor: latest=false
+#           tags: |
+#             type=sha,prefix=nightly-{{date 'YYYYMMDD'}}-,format=short
+#             type=raw,value=nightly
 
-      - uses: docker/build-push-action@v3
-        with:
-          context: .
-          platforms: linux/amd64, linux/arm64
-          push: ${{ github.event_name != 'pull_request' }}
-          tags: ${{ steps.meta.outputs.tags }}
-          labels: ${{ steps.meta.outputs.labels }}
-          build-args: |
-            MORE_BUILD_ARGS=-j${{ env.NPROC }}
+#       - uses: docker/build-push-action@v3
+#         with:
+#           context: .
+#           platforms: linux/amd64, linux/arm64
+#           push: ${{ github.event_name != 'pull_request' }}
+#           tags: ${{ steps.meta.outputs.tags }}
+#           labels: ${{ steps.meta.outputs.labels }}
+#           build-args: |
+#             MORE_BUILD_ARGS=-j${{ env.NPROC }}
 
   test-nightly-docker-image:
-    needs: [publish-nightly-docker-image]
+#     needs: [publish-nightly-docker-image]
     name: Test nightly Docker image
     runs-on: ubuntu-20.04
     container:

Reply via email to