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 dd13819
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 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,26 @@ 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-${{ matrix.arch }}
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 dd13819

Please sign in to comment.