From 6c36a4e73eacd30acb40981e0c2540cd08ea6c9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= Date: Sat, 25 Nov 2023 16:14:18 +0100 Subject: [PATCH] Git context --- .github/workflows/maintenance-linux.yml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/maintenance-linux.yml b/.github/workflows/maintenance-linux.yml index a62d633320e2..caf981a696f6 100644 --- a/.github/workflows/maintenance-linux.yml +++ b/.github/workflows/maintenance-linux.yml @@ -48,17 +48,13 @@ jobs: # !linux/build/*-bundled.tar.gz build-linux2: - name: Build x86 Linux tarballs + name: Buildx x86 Linux tarballs runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - with: - repository: crystal-lang/distribution-scripts - branch: refactor/linux-makefile-build-context - - name: Build statically linked copiler uses: docker/build-push-action@v5 with: + context: https://github.com/crystal-lang/distribution-scripts.git#refactor/linux-makefile-build-context file: linux/Dockerfile build-args: | previous_crystal_release=https://github.com/crystal-lang/crystal/releases/download/${{ env.PREVIOUS_CRYSTAL_VERSION }}/crystal-${{ env.PREVIOUS_CRYSTAL_VERSION }}-1-linux-x86_64.tar.gz @@ -85,14 +81,10 @@ jobs: name: Build aarch64 Linux tarballs runs-on: [linux, ARM64] steps: - - uses: actions/checkout@v3 - with: - repository: crystal-lang/distribution-scripts - branch: refactor/linux-makefile-build-context - - name: Build statically linked copiler uses: docker/build-push-action@v5 with: + context: https://github.com/crystal-lang/distribution-scripts.git#refactor/linux-makefile-build-context file: linux/Dockerfile build-args: | previous_crystal_release=https://dev.alpinelinux.org/archive/crystal/crystal-${{ env.PREVIOUS_CRYSTAL_VERSION }}-aarch64-alpine-linux-musl.tar.gz @@ -101,12 +93,6 @@ jobs: outputs: | type=tar,path=linux/crystal-${{ env.CRYSTAL_VERSION }}-1-linux-x86_64.tar - # - name: Build linux binaries - # uses: docker://jhass/crystal:1.0.0-alpine-build # this is only to get an environment with make - # #working-directory: linux - # with: - # args: make all #pull_images=true release=true - # - name: Upload tarballs as artifacts # uses: actions/upload-artifact@v3 # with: