From 1812936339197a218abd3919d3bd93606dc6d68a Mon Sep 17 00:00:00 2001 From: Hanjo Meinhardt Date: Wed, 27 Oct 2021 13:46:08 +0200 Subject: [PATCH] variable ruby versions --- .drone.yml | 3 +++ Dockerfile | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index d75a2ae..f06fd6e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,6 +5,7 @@ pipeline: repo: bunix42/jekyll build_args: - JEKYLL_VERSION=3.8.7 + - RUBY_VERSION=2-alpine3.13 tags: - 3.8.7 - 3.8 @@ -15,6 +16,7 @@ pipeline: repo: bunix42/jekyll build_args: - JEKYLL_VERSION=3.9.1 + - RUBY_VERSION=2-alpine3.13 tags: - 3.9.1 - 3.9 @@ -25,6 +27,7 @@ pipeline: repo: bunix42/jekyll build_args: - JEKYLL_VERSION=4.2.1 + - RUBY_VERSION=3-alpine3.13 tags: - 4.2.1 - 4.2 diff --git a/Dockerfile b/Dockerfile index 121c4bf..8ef92b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ -FROM ruby:3-alpine3.13 +ARG RUBY_VERSION +FROM ruby:${RUBY_VERSION}} LABEL org.opencontainers.image.authors="hanjo@bunix.de"