You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2021/08/17 09:59:29 UTC

[skywalking-banyandb] branch test created (now 536b629)

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

kezhenxu94 pushed a change to branch test
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git.


      at 536b629  Test

This branch includes the following new commits:

     new 536b629  Test

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[skywalking-banyandb] 01/01: Test

Posted by ke...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch test
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git

commit 536b6292c76a7aa42a7ba8c2f73d9d266e020327
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Tue Aug 17 17:59:17 2021 +0800

    Test
---
 .github/workflows/publish-docker.yml | 8 +++-----
 scripts/build/docker.mk              | 8 ++++----
 2 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml
index fce0470..753bfb5 100644
--- a/.github/workflows/publish-docker.yml
+++ b/.github/workflows/publish-docker.yml
@@ -21,6 +21,7 @@ on:
   push:
     branches:
       - main
+      - test
 
 env:
   HUB: ghcr.io/apache/skywalking-banyandb
@@ -33,8 +34,6 @@ jobs:
       contents: read
       packages: write
     timeout-minutes: 90
-    strategy:
-      fail-fast: true
     env:
       TAG: ${{ github.sha }}
     steps:
@@ -57,12 +56,11 @@ jobs:
           make docker || make docker
       - name: Log in to the Container registry
         uses: docker/login-action@v1.10.0
-        if: github.ref == 'refs/heads/main'
         with:
           registry: ${{ env.HUB }}
           username: ${{ github.actor }}
           password: ${{ secrets.GITHUB_TOKEN }}
       - name: Push docker image
-        if: github.ref == 'refs/heads/main'
         run: |
-          make docker.push || make docker.push
\ No newline at end of file
+          docker images
+          make docker.push || make docker.push
diff --git a/scripts/build/docker.mk b/scripts/build/docker.mk
index 6b728aa..941a889 100644
--- a/scripts/build/docker.mk
+++ b/scripts/build/docker.mk
@@ -16,7 +16,7 @@
 # under the License.
 #
 
-# The hub of the docker image. The default value is skywalking-banyandd.
+# The hub of the docker image. The default value is skywalking-banyandb.
 # For github registry, it would be ghcr.io/apache/skywalking-banyandb
 HUB ?= skywalking-banyandb
 
@@ -33,10 +33,10 @@ BUILD_ARGS := $(BUILD_ARGS) --build-arg CERT_IMAGE=alpine:edge --build-arg BASE_
 
 .PHONY: docker
 docker:
-	@echo "Build Skywalking/BanyanDB Docker Image"
+	@echo "Build SkyWalking/BanyanDB Docker Image"
 	@time docker buildx build $(BUILD_ARGS) -t $(HUB):$(TAG) -f Dockerfile ..
 
 .PHONY: docker.push
 docker.push:
-	@echo "Push Skywalking/BanyanDB Docker Image"
-	@time docker push $(HUB):$(TAG)
\ No newline at end of file
+	@echo "Push SkyWalking/BanyanDB Docker Image"
+	@time docker push $(HUB):$(TAG)