Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed Nov 25, 2023
1 parent 63d68ce commit fdbda06
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/maintenance-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,24 @@ jobs:
crystal_version=${{ env.CRYSTAL_VERSION }}
crystal_sha1=${{ env.CRYSTAL_SHA1 }}
outputs: |
type=tar,dest=linux/crystal-${{ env.CRYSTAL_VERSION }}-1-linux-${{ matrix.arch }}.tar
type=tar,dest=crystal-${{ env.CRYSTAL_VERSION }}-1-linux-${{ matrix.arch }}.tar
- name: Build tar.gz
run: gzip -c linux/crystal-${{ env.CRYSTAL_VERSION }}-1-linux-${{ matrix.arch }}.tar > linux/crystal-${{ env.CRYSTAL_VERSION }}-1-linux-${{ matrix.arch }}.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 }}
path: linux/*.tar.gz
path: "*.tar.gz"

- name: Upload tarball for use in the next step
uses: actions/upload-artifact@v3
with:
name: tarball-${{ matrix.arch }}
path: |
linux/*.tar.gz
!linux/*-bundled.tar.gz
*.tar.gz
!*-bundled.tar.gz
package-docker:
name: Build the docker images
Expand All @@ -74,16 +74,16 @@ jobs:
uses: actions/download-artifact@v3
with:
name: tarball
path: linux/build/
path: builds

- run: ls linux/build/
- run: ls builds/

- name: Build ubuntu runtime image
uses: docker/build-push-action@v5
with:
target: runtime
file: docker/ubuntu.Dockerfile
build-contexts: tarball=linux/build/
build-contexts: tarball=builds/
push: false
load: true
tags: "${{ env.tag }}"
Expand All @@ -93,7 +93,7 @@ jobs:
with:
target: build
file: docker/ubuntu.Dockerfile
build-contexts: tarball=linux/build/
build-contexts: tarball=builds/
push: false
load: true
tags: "${{ env.tag }}-build"
Expand All @@ -103,7 +103,7 @@ jobs:
with:
target: runtime
file: docker/alpine.Dockerfile
build-contexts: tarball=linux/build/
build-contexts: tarball=builds/
push: false
load: true
tags: "${{ env.tag }}-alpine"
Expand All @@ -113,7 +113,7 @@ jobs:
with:
target: build
file: docker/alpine.Dockerfile
build-contexts: tarball=linux/build/
build-contexts: tarball=builds/
push: false
load: true
tags: "${{ env.tag }}-alpine-build"
Expand Down

0 comments on commit fdbda06

Please sign in to comment.