Przeglądaj źródła

build(docker): use ghcr image for build docker

zhanghongtong 4 lat temu
rodzic
commit
b2d80125b6
2 zmienionych plików z 2 dodań i 3 usunięć
  1. 1 2
      .github/workflows/run_api_tests.yaml
  2. 1 1
      build

+ 1 - 2
.github/workflows/run_api_tests.yaml

@@ -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:

+ 1 - 1
build

@@ -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 .