Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

minor CI improvements #78

Merged
merged 3 commits into from
Jul 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,18 @@ jobs:
needs: setup
runs-on: [self-hosted, gpu]
strategy:
fail-fast: false # TODO: remove
fail-fast: false
matrix:
model: ${{ fromJson(needs.setup.outputs.models) }}
# if nothing to do, skip without failing
if: needs.setup.outputs.models != '[]'
env:
VERSION: '1.0.0'
DOCKER_BUILDKIT: 1
DOCKER_CLI_EXPERIMENTAL: enabled
COMPOSE_DOCKER_CLI_BUILD: 1
permissions:
packages: write
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
Expand All @@ -74,6 +78,7 @@ jobs:
steps:
- run: echo success
teardown:
environment: ${{ github.event_name == 'pull_request_target' && !contains('OWNER,MEMBER,COLLABORATOR', github.event.pull_request.author_association) && 'external' || 'internal' }}
needs: build-test-push
if: always()
runs-on: ubuntu-latest
Expand Down