Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed Nov 16, 2023
1 parent 0ba60db commit cd719c2
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/maintenance-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ env:
CRYSTAL_VERSION: "${{ inputs.crystal_version || 'master' }}"
CRYSTAL_SHA1: "${{ inputs.crystal_version || 'master' }}"
PREVIOUS_CRYSTAL_VERSION: "${{ inputs.previous_crystal_version || '1.10.1' }}"
DOCKER_TAG: "${{ env.DOCKER_TAG }}"

jobs:
build-linux:
Expand All @@ -41,6 +40,8 @@ jobs:
name: Build the docker images
runs-on: ubuntu-latest
needs: build-linux
env:
tag: "crystallang/crystal:${{ env.CRYSTAL_VERSION }}"
steps:
- name: Download the linux tarballs
uses: actions/download-artifact@v3
Expand All @@ -58,7 +59,7 @@ jobs:
build-contexts: tarball=linux/build/
push: false
load: true
tags: "${{ env.DOCKER_TAG }}"
tags: "${{ env.tag }}"

- name: Build ubuntu build image
uses: docker/build-push-action@v5
Expand All @@ -68,7 +69,7 @@ jobs:
build-contexts: tarball=linux/build/
push: false
load: true
tags: "${{ env.DOCKER_TAG }}-build"
tags: "${{ env.tag }}-build"

- name: Build alpine runtime image
uses: docker/build-push-action@v5
Expand All @@ -78,7 +79,7 @@ jobs:
build-contexts: tarball=linux/build/
push: false
load: true
tags: "${{ env.DOCKER_TAG }}-alpine"
tags: "${{ env.tag }}-alpine"

- name: Build alpine build image
uses: docker/build-push-action@v5
Expand All @@ -88,13 +89,13 @@ jobs:
build-contexts: tarball=linux/build/
push: false
load: true
tags: "${{ env.DOCKER_TAG }}-alpine-build"
tags: "${{ env.tag }}-alpine-build"

- name: Inspect ubuntu
run: docker image inspect "${{ env.DOCKER_TAG }}"
run: docker image inspect "${{ env.tag }}"
- name: Inspect ubuntu
run: docker image inspect "${{ env.DOCKER_TAG }}-build"
run: docker image inspect "${{ env.tag }}-build"
- name: Inspect alpine
run: docker image inspect "${{ env.DOCKER_TAG }}-alpine"
run: docker image inspect "${{ env.tag }}-alpine"
- name: Inspect alpine
run: docker image inspect "${{ env.DOCKER_TAG }}-alpine-build"
run: docker image inspect "${{ env.tag }}-alpine-build"

0 comments on commit cd719c2

Please sign in to comment.