From 36aca416b470f93b958fc54d0b0a44108fb278b7 Mon Sep 17 00:00:00 2001 From: Niven Date: Thu, 30 Nov 2023 11:27:53 +0800 Subject: [PATCH] Rename to docker build from binaries --- .github/workflows/build-dev.yaml | 2 +- .github/workflows/build-release.yaml | 2 +- .github/workflows/build-staging.yaml | 2 +- make.sh | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-dev.yaml b/.github/workflows/build-dev.yaml index 96d0c1adc4..47cffc5de1 100644 --- a/.github/workflows/build-dev.yaml +++ b/.github/workflows/build-dev.yaml @@ -115,7 +115,7 @@ jobs: run: tar -xvzf ./build/defichain-${{ env.BUILD_VERSION }}-${{ env.TARGET }}.${{ env.PKG_TYPE }} -C ./build/ - name: Build defi image - run: rm .dockerignore && ./make.sh docker-defi-build + run: rm .dockerignore && ./make.sh docker-build-from-binaries - name: Login to Docker Hub uses: docker/login-action@v2 diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index 439003c085..dfd6a05953 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -94,7 +94,7 @@ jobs: run: tar -xvzf ./build/defichain-${{ env.BUILD_VERSION }}-${{ env.TARGET }}.${{ env.PKG_TYPE }} -C ./build/ - name: Build defi image - run: rm .dockerignore && ./make.sh docker-defi-build + run: rm .dockerignore && ./make.sh docker-build-from-binaries - name: Login to Docker Hub uses: docker/login-action@v2 diff --git a/.github/workflows/build-staging.yaml b/.github/workflows/build-staging.yaml index 721e591f7c..9c369a207f 100644 --- a/.github/workflows/build-staging.yaml +++ b/.github/workflows/build-staging.yaml @@ -66,4 +66,4 @@ jobs: run: tar -xvzf ./build/defichain-${{ env.BUILD_VERSION }}-${{ env.TARGET }}.${{ env.PKG_TYPE }} -C ./build/ - name: Build defi image - run: rm .dockerignore && ./make.sh docker-defi-build + run: rm .dockerignore && ./make.sh docker-build-from-binaries diff --git a/make.sh b/make.sh index 87b6e86331..22c22d462d 100755 --- a/make.sh +++ b/make.sh @@ -321,7 +321,7 @@ docker_release() { _sign "$target" } -docker_defi_build() { +docker_build_from_binaries() { local target=${1:-${TARGET}} local img_prefix="${IMAGE_PREFIX}" local img_version="${IMAGE_VERSION}" @@ -330,7 +330,7 @@ docker_defi_build() { local docker_context="${DOCKER_ROOT_CONTEXT}" local docker_file="${DEFI_DOCKERFILE}" - echo "> docker-defi-build"; + echo "> docker-build-from-binaries"; local img="${img_prefix}-${target}:${img_version}" echo "> building: ${img}"