Skip to content

Commit

Permalink
Double docker files build
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed Nov 25, 2023
1 parent fdbda06 commit 043ffc6
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/maintenance-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:

jobs:
build-linux:
name: Buildx ${{ matrix.arch }} Linux tarballs
name: Build ${{ matrix.arch }} Linux tarballs
runs-on: ${{ matrix.runs-on }}
strategy:
matrix:
Expand Down Expand Up @@ -63,20 +63,27 @@ jobs:
!*-bundled.tar.gz
package-docker:
name: Build the docker images
runs-on: ubuntu-latest
name: Build ${{ matrix.arch }} Docker images tarballs
runs-on: ${{ matrix.runs-on }}
strategy:
matrix:
include:
- arch: x86_64
runs-on: ubuntu-latest
- arch: aarch64
runs-on: [linux, ARM64]
needs:
- build-linux
- build-aarch64
- build-x86_64
env:
tag: "crystallang/crystal:${{ inputs.crystal_version || 'master' }}"
steps:
- name: Download the linux tarballs
uses: actions/download-artifact@v3
with:
name: tarball
path: builds
name: tarball-${{ matrix.arch }}

- run: ls builds/
- run: ls && ls *

- name: Build ubuntu runtime image
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 043ffc6

Please sign in to comment.