From 166f117992f1feae1a41e82f04508436848eff88 Mon Sep 17 00:00:00 2001 From: Alan Guo Xiang Tan Date: Tue, 17 Oct 2023 09:04:26 +0800 Subject: [PATCH] DEV: Hack using a locally build slim image for now to get faster feedback --- .github/workflows/arm64-build.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/arm64-build.yml b/.github/workflows/arm64-build.yml index 58f3675104..878f522d66 100644 --- a/.github/workflows/arm64-build.yml +++ b/.github/workflows/arm64-build.yml @@ -29,20 +29,20 @@ jobs: - name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v2 - - name: build slim image - run: | - cd image && ruby auto_build.rb base_slim_arm64 - - name: tag slim images - id: tag-images - run: | - TAG=`date +%Y%m%d-%H%M` - echo "tag=$(echo $TAG)" >> $GITHUB_OUTPUT - docker tag discourse/base:build_slim_arm64 discourse/base:2.0.$TAG-slim-arm64 - docker tag discourse/base:build_slim_arm64 discourse/base:slim-arm64 - docker push localhost:5000/discourse/base:build_slim_arm64 + # - name: build slim image + # run: | + # cd image && ruby auto_build.rb base_slim_arm64 + # - name: tag slim images + # id: tag-images + # run: | + # TAG=`date +%Y%m%d-%H%M` + # echo "tag=$(echo $TAG)" >> $GITHUB_OUTPUT + # docker tag discourse/base:build_slim_arm64 discourse/base:2.0.$TAG-slim-arm64 + # docker tag discourse/base:build_slim_arm64 discourse/base:slim-arm64 + # docker push localhost:5000/discourse/base:build_slim_arm64 - name: build release image run: | - cd image && ruby auto_build.rb base_arm64 --build-arg from=localhost:5000/discourse/base + cd image && ruby auto_build.rb base_arm64 --build-arg from=tgxworld/base - name: tag release images run: | TAG=${{ steps.tag-images.outputs.tag }}