Skip to content

Commit

Permalink
Bundled
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed Nov 26, 2023
1 parent fa7c0af commit dae986a
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/maintenance-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,23 +48,27 @@ jobs:
outputs: |
type=tar,dest=crystal-${{ env.CRYSTAL_VERSION }}-1-linux-${{ matrix.arch }}.tar
- name: Build bundled package
uses: docker/build-push-action@v5
with:
context: https://github.com/crystal-lang/distribution-scripts.git#refactor/linux-makefile-build-context
file: linux/bundled.dockerfile
build-contexts: |
crystal_base=.
build-args: |
crystal_version=${{ env.CRYSTAL_VERSION }}
outputs: |
type=tar,dest=crystal-${{ env.CRYSTAL_VERSION }}-1-linux-${{ matrix.arch }}.tar
- name: Build tar.gz
run: gzip -c crystal-${{ env.CRYSTAL_VERSION }}-1-linux-${{ matrix.arch }}.tar > crystal-${{ env.CRYSTAL_VERSION }}-1-linux-${{ matrix.arch }}.tar.gz

- name: Upload tarballs as artifacts
uses: actions/upload-artifact@v3
with:
name: release-${{ env.CRYSTAL_VERSION }}-${{ matrix.arch }}
name: crystal-${{ env.CRYSTAL_VERSION }}-${{ matrix.arch }}
path: "*.tar.gz"

- name: Upload tarball for use in the next step
uses: actions/upload-artifact@v3
with:
name: tarball-${{ matrix.arch }}
path: |
*.tar.gz
!*-bundled.tar.gz
package-docker:
name: Build ${{ matrix.arch }} Docker images tarballs
runs-on: ${{ matrix.runs-on }}
Expand Down

0 comments on commit dae986a

Please sign in to comment.