Skip to content

Commit 94c9b6c

Browse files
committed
Update kotlin libraries
- Update danger-js inside Docker image - Update publish docker image arguments on release job
1 parent b377fd2 commit 94c9b6c

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/publish_release.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
name: Release distribution
22

33
on:
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

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LABEL "com.github.actions.color"="blue"
99

1010
ARG KOTLINC_VERSION="2.0.21"
1111
ARG 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
1515
RUN apt-get update

0 commit comments

Comments
 (0)