Skip to content

Fork bombei93

Fork bombei93 #55

Workflow file for this run

name: PR
on:
pull_request:
branches:
- development
# TODO: add release-* ??
# TODO: remove branches condition ??
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
plan:
uses: nepalevov/ai-dial-ci/.github/workflows/gh_environment.yml@main
with:
operation: plan
check-and-build:
needs:
- plan
uses: nepalevov/ai-dial-ci/.github/workflows/generic_docker_pr.yml@main
with:
enable_ort: false
# HINT: outputs: ["image_name", "image_tag", "artifact_name"]
use:
runs-on: ubuntu-latest
needs: check-and-build
steps:
- name: Download artifact
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: ${{ needs.check-and-build.outputs.artifact_name }}
path: /tmp
- name: Load image
run: |
docker load --input /tmp/${{ needs.check-and-build.outputs.artifact_name }}.tar
docker image inspect ${{ needs.check-and-build.outputs.image_name }}:${{ needs.check-and-build.outputs.image_tag }}