From fd2adebb46f6f0fb417de5e2404cdcfd0fdd8cc1 Mon Sep 17 00:00:00 2001 From: 417-72KI <417.72ki@gmail.com> Date: Mon, 30 Oct 2023 00:24:35 +0900 Subject: [PATCH 1/2] enable versioning from build-arguments and set default to 5.9 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f1b04360..802b3a7a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ -FROM swift:5.7.0-focal +ARG SWIFT_VERSION=5.9 +FROM swift:${SWIFT_VERSION}-focal MAINTAINER Orta Therox From cf2de78db449f9799e2c199a0238759faf44962a Mon Sep 17 00:00:00 2001 From: 417-72KI <417.72ki@gmail.com> Date: Mon, 30 Oct 2023 00:25:10 +0900 Subject: [PATCH 2/2] replace deprecated `MAINTAINER` --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 802b3a7a..595df741 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ ARG SWIFT_VERSION=5.9 FROM swift:${SWIFT_VERSION}-focal -MAINTAINER Orta Therox +LABEL org.opencontainers.image.authors="Orta Therox" LABEL "com.github.actions.name"="Danger Swift" LABEL "com.github.actions.description"="Runs Swift Dangerfiles"