Skip to content

Commit

Permalink
The stupidest thing eve: how should I've known that github.inputs.bui…
Browse files Browse the repository at this point in the history
…ld_arm needs to be used for workflow call and not github.event.inputs.build_arm
  • Loading branch information
corneliusroemer committed May 11, 2024
1 parent 64a8c18 commit 5bac577
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:

env:
DOCKER_IMAGE_NAME: ghcr.io/loculus-project/backend
BUILD_ARM: ${{ (github.event.inputs.build_arm || github.ref == 'refs/heads/main') && 'true' || 'false' }}
BUILD_ARM: ${{ github.event.inputs.build_arm || github.inputs.build_arm || github.ref == 'refs/heads/main' }}

concurrency:
group: ci-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}-backend
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/config-preprocessor-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:

env:
DOCKER_IMAGE_NAME: ghcr.io/loculus-project/config-processor
BUILD_ARM: ${{ (github.event.inputs.build_arm || github.ref == 'refs/heads/main') && 'true' || 'false' }}
BUILD_ARM: ${{ github.event.inputs.build_arm || github.inputs.build_arm || github.ref == 'refs/heads/main' }}

defaults:
run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dummyPreprocessing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:

env:
DOCKER_IMAGE_NAME: ghcr.io/loculus-project/preprocessing-dummy
BUILD_ARM: ${{ (github.event.inputs.build_arm || github.ref == 'refs/heads/main') && 'true' || 'false' }}
BUILD_ARM: ${{ github.event.inputs.build_arm || github.inputs.build_arm || github.ref == 'refs/heads/main' }}

concurrency:
group: ci-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}-preprocessing-dumm-${{github.event.inputs.build_arm}}y
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ingest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:

env:
DOCKER_IMAGE_NAME: ghcr.io/loculus-project/ingest
BUILD_ARM: ${{ (github.event.inputs.build_arm || github.ref == 'refs/heads/main') && 'true' || 'false' }}
BUILD_ARM: ${{ github.event.inputs.build_arm || github.inputs.build_arm || github.ref == 'refs/heads/main' }}

concurrency:
group: ci-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}-ingest-${{github.event.inputs.build_arm}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/keycloakify-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
required: false
env:
DOCKER_IMAGE_NAME: ghcr.io/loculus-project/keycloakify
BUILD_ARM: ${{ (github.event.inputs.build_arm || github.ref == 'refs/heads/main') && 'true' || 'false' }}
BUILD_ARM: ${{ github.event.inputs.build_arm || github.inputs.build_arm || github.ref == 'refs/heads/main' }}

concurrency:
group: ci-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}-keycloak-buil-${{github.event.inputs.build_arm}}d
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preprocessing-nextclade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:

env:
DOCKER_IMAGE_NAME: ghcr.io/loculus-project/preprocessing-nextclade
BUILD_ARM: ${{ (github.event.inputs.build_arm || github.ref == 'refs/heads/main') && 'true' || 'false' }}
BUILD_ARM: ${{ github.event.inputs.build_arm || github.inputs.build_arm || github.ref == 'refs/heads/main' }}

concurrency:
group: ci-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}-preprocessing-nextclade-${{github.event.inputs.build_arm}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
required: false
env:
DOCKER_IMAGE_NAME: ghcr.io/loculus-project/website
BUILD_ARM: ${{ (github.event.inputs.build_arm || github.ref == 'refs/heads/main') && 'true' || 'false' }}
BUILD_ARM: ${{ github.event.inputs.build_arm || github.inputs.build_arm || github.ref == 'refs/heads/main' }}

concurrency:
group: ci-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}-website-${{github.event.inputs.build_arm}}
Expand Down

0 comments on commit 5bac577

Please sign in to comment.