Skip to content

Commit

Permalink
DEV: Hack using a locally build slim image for now to get faster
Browse files Browse the repository at this point in the history
feedback
  • Loading branch information
tgxworld committed Oct 17, 2023
1 parent ee27a68 commit 166f117
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/arm64-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 166f117

Please sign in to comment.