File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 11name : Release distribution
22
33on :
4+ workflow_dispatch :
5+ inputs :
6+ danger-js-version :
7+ description : " Danger JS release version"
8+ default : " 12.3.3"
9+ kotlin-version :
10+ description : " Kotlin Version"
11+ default : " 2.0.21"
412 release :
513 types : [ created ]
614
@@ -99,9 +107,11 @@ jobs:
99107 USERNAME : ${{ github.actor }}
100108
101109 - name : Docker Build
102- run : docker build -t ghcr.io/danger/danger-kotlin:$VERSION .
110+ run : docker build -t ghcr.io/danger/danger-kotlin:$VERSION --build-arg="DANGER_KOTLIN_VERSION=$VERSION" --build-arg="KOTLINC_VERSION=$KOTLINC_VERSION" --build-arg="DANGER_JS_VERSION=$DANGER_JS_VERSION" .
103111 env :
104112 VERSION : ${{ steps.get_release.outputs.tag_name }}
113+ KOTLINC_VERSION : ${{ github.event.inputs.kotlin-version }}
114+ DANGER_JS_VERSION : ${{ github.event.inputs.danger-js-version }}
105115
106116 - name : Deploy
107117 run : docker push ghcr.io/danger/danger-kotlin:$VERSION
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ LABEL "com.github.actions.color"="blue"
99
1010ARG KOTLINC_VERSION="2.0.21"
1111ARG DANGER_KOTLIN_VERSION="1.3.2"
12- ARG DANGER_JS_VERSION="11 .3.1 "
12+ ARG DANGER_JS_VERSION="12 .3.3 "
1313
1414# Install dependencies
1515RUN apt-get update
You can’t perform that action at this time.
0 commit comments