chore(ci): Fix and debug print compiler_publish_docker_images

This commit is contained in:
Quentin Bourgerie
2023-03-14 11:52:35 +01:00
parent 1e435de9d6
commit e019f0d01d
2 changed files with 9 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
name: Compiler - Docker images build & publish
on:
workflow_call:
workflow_dispatch:
inputs:
instance_id:
description: 'Instance ID'
@@ -36,6 +36,12 @@ jobs:
dockerfile: builders/Dockerfile.concrete-compiler-env
steps:
- name: Instance configuration used
run: |
echo "IDs: ${{ inputs.instance_id }}"
echo "AMI: ${{ inputs.instance_image_id }}"
echo "Type: ${{ inputs.instance_type }}"
echo "Request ID: ${{ inputs.request_id }}"
# SSH private key is required as some dependencies are from private repos
- uses: webfactory/ssh-agent@v0.6.0
with:

View File

@@ -75,7 +75,7 @@ jobs:
# Compiler jobs #################################
compiler-compliance:
needs: file-change
if: needs.file-change.outputs.compiler == 'true'
if: needs.file-change.outputs.compiler == 'true' || needs.file-change.outputs.push-main == 'true'
uses: ./.github/workflows/compiler_format_and_linting.yml
compiler-cpu-build:
@@ -96,7 +96,7 @@ jobs:
compiler-macos-tests:
needs: file-change
if: needs.file-change.outputs.compiler == 'true'
if: needs.file-change.outputs.compiler == 'true' || needs.file-change.outputs.push-main == 'true'
uses: ./.github/workflows/compiler_macos_build_and_test.yml
secrets: inherit