build(docker): use ghcr image for build docker

This commit is contained in:
zhanghongtong 2021-10-20 14:29:51 +08:00 committed by x1001100011
parent 7364e821b8
commit cde614aad8
2 changed files with 2 additions and 3 deletions

View File

@ -1,10 +1,9 @@
name: API Test Suite
concurrency:
group: apt-test-${{ github.event_name }}-${{ github.ref }}
group: apt-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
tags:

2
build
View File

@ -150,7 +150,7 @@ make_docker() {
docker build --no-cache \
--build-arg PKG_VSN="$PKG_VSN" \
--build-arg BUILD_FROM="emqx/build-env:erl${OTP:-23.2.7.2-emqx-2}-alpine" \
--build-arg BUILD_FROM="ghcr.io/emqx/emqx-builder-helper/5.0:${OTP:-24.1.1-emqx-1}-alpine" \
--build-arg EMQX_NAME="$PROFILE" \
--tag "emqx/$PROFILE:$PKG_VSN" \
-f deploy/docker/Dockerfile .