Skip to content

Commit

Permalink
Fix docker job
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed Nov 26, 2023
1 parent 62ef058 commit 0a544ad
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/maintenance-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,11 @@ jobs:
- name: Build ubuntu runtime image
uses: docker/build-push-action@v5
with:
context: https://github.com/crystal-lang/distribution-scripts.git#master
target: runtime
file: docker/ubuntu.Dockerfile
build-contexts: tarball=artifacts/
build-args: |
crystal_targz=artifacts/crystal-${{ env.CRYSTAL_VERSION }}-1-linux-${{ matrix.arch }}.tar.gz
push: false
load: true
tags: "${{ env.tag }}"
Expand All @@ -98,7 +100,8 @@ jobs:
with:
target: build
file: docker/ubuntu.Dockerfile
build-contexts: tarball=artifacts/
build-args: |
crystal_targz=artifacts/crystal-${{ env.CRYSTAL_VERSION }}-1-linux-${{ matrix.arch }}.tar.gz
push: false
load: true
tags: "${{ env.tag }}-build"
Expand All @@ -108,7 +111,8 @@ jobs:
with:
target: runtime
file: docker/alpine.Dockerfile
build-contexts: tarball=artifacts/
build-args: |
crystal_targz=artifacts/crystal-${{ env.CRYSTAL_VERSION }}-1-linux-${{ matrix.arch }}.tar.gz
push: false
load: true
tags: "${{ env.tag }}-alpine"
Expand All @@ -118,7 +122,8 @@ jobs:
with:
target: build
file: docker/alpine.Dockerfile
build-contexts: tarball=artifacts/
build-args: |
crystal_targz=artifacts/crystal-${{ env.CRYSTAL_VERSION }}-1-linux-${{ matrix.arch }}.tar.gz
push: false
load: true
tags: "${{ env.tag }}-alpine-build"
Expand Down

0 comments on commit 0a544ad

Please sign in to comment.