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 10:37:15 UTC

[skywalking-banyandb] branch main updated: Fix publish Docker images to ghcr not work (#42)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 7cbe81d  Fix publish Docker images to ghcr not work (#42)
7cbe81d is described below

commit 7cbe81d40bd746d4cca0d19d18c775ac78ebd486
Author: Jiajing LU <lu...@gmail.com>
AuthorDate: Tue Aug 17 18:37:09 2021 +0800

    Fix publish Docker images to ghcr not work (#42)
---
 .github/workflows/publish-docker.yml | 1 +
 scripts/build/docker.mk              | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml
index fce0470..bc39cd7 100644
--- a/.github/workflows/publish-docker.yml
+++ b/.github/workflows/publish-docker.yml
@@ -55,6 +55,7 @@ jobs:
       - name: Build docker image
         run: |
           make docker || make docker
+          docker image ls
       - name: Log in to the Container registry
         uses: docker/login-action@v1.10.0
         if: github.ref == 'refs/heads/main'
diff --git a/scripts/build/docker.mk b/scripts/build/docker.mk
index 6b728aa..2a0e654 100644
--- a/scripts/build/docker.mk
+++ b/scripts/build/docker.mk
@@ -26,7 +26,7 @@ TAG ?= latest
 
 # Disable cache in CI environment
 ifeq (true,$(CI))
-	BUILD_ARGS := --no-cache
+	BUILD_ARGS := --no-cache --load
 endif
 
 BUILD_ARGS := $(BUILD_ARGS) --build-arg CERT_IMAGE=alpine:edge --build-arg BASE_IMAGE=golang:1.16