Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusroemer committed May 11, 2024
1 parent 9bc037c commit 777c499
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ on:
workflow_call:
inputs:
build_arm:
type: boolean
type: string
description: "Build for ARM as well"
default: false
required: false
default: "false"
required: true

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

concurrency:
group: ci-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}-backend
Expand Down Expand Up @@ -55,8 +55,7 @@ jobs:
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
type=ref,event=branch
type=sha,prefix=commit-
type=raw,value=${{ github.ref == 'refs/heads/main' && 'main' || github.ref }}-arm,enable=${{ env.BUILD_ARM }}
type=raw,value=${{ github.ref == 'refs/heads/main' && 'main' || github.ref }}-arm,enable=${{ env.BUILD_ARM == true || env.BUILD_ARM == 'true'}}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/config-preprocessor-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ on:
type: boolean
description: "Build for ARM as well"
default: false
required: false
required: true
workflow_call:
inputs:
build_arm:
type: boolean
type: string
description: "Build for ARM as well"
default: false
required: false
default: "false"
required: true

env:
DOCKER_IMAGE_NAME: ghcr.io/loculus-project/config-processor
Expand Down

0 comments on commit 777c499

Please sign in to comment.