Treat CI images as differently

Create the CI images in different job units to work around image size
issues.
This commit is contained in:
William Douglas
2024-06-14 14:46:48 -07:00
parent 13117a3da2
commit 5a0a2fb808
4 changed files with 50 additions and 7 deletions
+38
View File
@@ -7,6 +7,44 @@ env:
GITHUB_TOKEN: ${{ github.token }}
jobs:
clr-installer-ci:
if: (github.event_name == 'create' && github.event.ref_type == 'tag')
name: Release
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Delete unused tools folder
run: rm -rf /opt/hostedtoolcache
- name: Code Checkout
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push
run: ./build-and-push-images.sh ${{ github.event.ref }} clr-installer-ci
mixer-ci:
if: (github.event_name == 'create' && github.event.ref_type == 'tag')
name: Release
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Delete unused tools folder
run: rm -rf /opt/hostedtoolcache
- name: Code Checkout
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push
run: ./build-and-push-images.sh ${{ github.event.ref }} mixer-ci
release:
if: (github.event_name == 'create' && github.event.ref_type == 'tag')
name: Release