Skip to content

Commit

Permalink
Merge branch 'main' into hugo/win-423-http-triggerspreprocessor-capture
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenfiszel authored Dec 17, 2024
2 parents 151c676 + 95c613d commit 9d5c81b
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
env:
REGISTRY: ghcr.io
IMAGE_NAME:
${{ github.event_name != 'pull_request' && github.event_name != 'workflow_dispatch' && github.repository ||
'windmill-labs/windmill-test' }}
${{ github.event_name != 'pull_request' && github.event_name != 'workflow_dispatch' && github.repository || 'windmill-labs/windmill-test' }}
DEV_SHA:
${{ github.event_name != 'pull_request' && github.event_name != 'workflow_dispatch' && 'dev' || format('pr-{0}',
github.event.number) }}
${{ github.event_name != 'pull_request' && github.event_name != 'workflow_dispatch' && 'dev' || github.event.inputs.tag }}

name: Build windmill:main
on:
Expand All @@ -19,8 +17,14 @@ on:
workflow_dispatch:
inputs:
ee:
description: 'Build EE image'
description: 'Build EE image (true, false)'
required: false
default: false
type: boolean
tag:
description: 'Tag the image'
required: true
default: 'test'

concurrency:
group: ${{ github.ref }}
Expand All @@ -31,6 +35,7 @@ permissions: write-all
jobs:
build:
runs-on: ubicloud
if: (github.event_name != 'workflow_dispatch') || (github.event.inputs && !github.event.inputs.ee)
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 9d5c81b

Please sign in to comment.