Skip to content

Commit

Permalink
Rename to docker build from binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
sieniven committed Nov 30, 2023
1 parent 0459cb1 commit 36aca41
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand All @@ -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}"
Expand Down

0 comments on commit 36aca41

Please sign in to comment.