From 6dd59dd7261d3bb1cd83f3a5dd5dbbdd175b7ce2 Mon Sep 17 00:00:00 2001 From: Hailemichael Atrsaw Date: Thu, 26 Mar 2026 15:13:02 +0300 Subject: [PATCH] feat: add Earthfile, README, and versions.yaml for Deno container image --- containers/deno/Earthfile | 22 ++++++++++++++++++++++ containers/deno/README.md | 19 +++++++++++++++++++ containers/deno/versions.yaml | 9 +++++++++ 3 files changed, 50 insertions(+) create mode 100644 containers/deno/Earthfile create mode 100644 containers/deno/README.md create mode 100644 containers/deno/versions.yaml diff --git a/containers/deno/Earthfile b/containers/deno/Earthfile new file mode 100644 index 0000000..a1376f0 --- /dev/null +++ b/containers/deno/Earthfile @@ -0,0 +1,22 @@ +VERSION 0.8 +IMPORT .. AS common + +ARG --global BASE_VERSION +ARG --global TAG +ARG --global GITHUB_REPOSITORY_OWNER + +deno-base: + FROM docker.io/denoland/deno:${BASE_VERSION} + DO common+ADD_LABELS + +validate: + FROM +deno-base + RUN --no-cache test -n "$BASE_VERSION" || (echo "BASE_VERSION is required" && exit 1) + +build: + BUILD +validate + FROM +deno-base + DO common+SAVE_IMAGE --IMAGE_NAME=deno --TAG=${TAG} --GITHUB_REPOSITORY_OWNER=${GITHUB_REPOSITORY_OWNER} + +build-multiplatform: + DO --pass-args common+BUILD_MULTIPLATFORM --TARGET=./deno+build diff --git a/containers/deno/README.md b/containers/deno/README.md new file mode 100644 index 0000000..314de3b --- /dev/null +++ b/containers/deno/README.md @@ -0,0 +1,19 @@ +# deno + +Aliased container image for Deno. + +## Available Versions + + + +| Tag | Base Version | +| ---------- | ------------ | +| `1.41.3` | 1.41.3 | + + + +## Usage + +```bash +docker pull ghcr.io/expnt/containers/deno: +``` diff --git a/containers/deno/versions.yaml b/containers/deno/versions.yaml new file mode 100644 index 0000000..26f3a06 --- /dev/null +++ b/containers/deno/versions.yaml @@ -0,0 +1,9 @@ +image_name: deno +tag_pattern: "{base_version}" +versions: + - base_version: "1.41.3" +watch: + - pattern: ^1\.\d+\.\d+$ + source: docker.io/denoland/deno + target: base_version + type: docker \ No newline at end of file