Skip to content

Commit

Permalink
Merge pull request #346 from JimmyYang20/fix-ci
Browse files Browse the repository at this point in the history
Fix the bug: download cc multiple times in buildx
  • Loading branch information
kubeedge-bot authored Aug 11, 2022
2 parents 0bce300 + 08f29d3 commit 9d27e67
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hack/lib/buildx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ sedna::buildx::prepare_env() {
docker buildx create --use --name $builder_instance --driver docker-container
fi
docker buildx use $builder_instance

# go speed tag with CGO_ENABLED=1 and alpine image
_speed_buildx_for_cgo_alpine_
}

_speed_buildx_for_go_() {
Expand Down Expand Up @@ -101,8 +104,6 @@ sedna::buildx:generate-speed-dockerfile() {
# go speed tag
_speed_buildx_for_go_

# go speed tag with CGO_ENABLED=1 and alpine image
_speed_buildx_for_cgo_alpine_
)

local base_cmds='
Expand Down

0 comments on commit 9d27e67

Please sign in to comment.