Skip to content

Commit

Permalink
Temporary fix .space.kts
Browse files Browse the repository at this point in the history
  • Loading branch information
SmirnovOleg committed Dec 27, 2022
1 parent 40578b0 commit e9bf675
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .space.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@ job("Paddle / Release / Docker") {
}
}

val version = "0.4.5"
val version = "0.4.6"

val types = listOf("2.7", "3.7", "3.8", "3.9", "3.10").map { "paddle-py-${it.replace(".", "-")}" } + listOf("paddle")
val types = listOf("3.9").map { "paddle-py-${it.replace(".", "-")}" }

for (type in types) {
docker {
kaniko {
build {
context = "."
file = "./scripts/docker/Dockerfile"
dockerfile = "./scripts/docker/Dockerfile"
target = type
args["VERSION"] = version
}
push(" registry.jetbrains.team/p/paddle/docker/${type}") {
push("registry.jetbrains.team/p/paddle/docker/${type}") {
tags(version)
}
}
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group = "io.paddle"
version = "0.4.5"
version = "0.4.6"

plugins {
kotlin("jvm") version "1.7.10" apply false
Expand Down
2 changes: 1 addition & 1 deletion scripts/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ubuntu:20.04 as downloader

ARG PADDLE_VERSION='0.4.5'
ARG PADDLE_VERSION='0.4.6'

RUN apt-get update && apt-get -y install wget
RUN wget -O /paddle.jar "https://github.com/JetBrains-Research/paddle/releases/download/v${PADDLE_VERSION}/paddle-${PADDLE_VERSION}-all.jar"
Expand Down

0 comments on commit e9bf675

Please sign in to comment.