diff --git a/containers/odoo/Earthfile b/containers/odoo/Earthfile new file mode 100644 index 0000000..d73b29b --- /dev/null +++ b/containers/odoo/Earthfile @@ -0,0 +1,22 @@ +VERSION 0.8 +IMPORT .. AS common + +ARG --global BASE_VERSION +ARG --global TAG +ARG --global GITHUB_REPOSITORY_OWNER + +odoo-base: + FROM docker.io/bitnamilegacy/odoo:${BASE_VERSION} + DO common+ADD_LABELS + +validate: + FROM +odoo-base + RUN --no-cache test -n "$BASE_VERSION" || (echo "BASE_VERSION is required" && exit 1) + +build: + BUILD +validate + FROM +odoo-base + DO common+SAVE_IMAGE --IMAGE_NAME=odoo --TAG=${TAG} --GITHUB_REPOSITORY_OWNER=${GITHUB_REPOSITORY_OWNER} + +build-multiplatform: + DO --pass-args common+BUILD_MULTIPLATFORM --TARGET=./odoo+build diff --git a/containers/odoo/README.md b/containers/odoo/README.md new file mode 100644 index 0000000..d6f1573 --- /dev/null +++ b/containers/odoo/README.md @@ -0,0 +1,18 @@ +# odoo + +Aliased container image for Odoo. + +## Available Versions + + + +| Tag | Base Version | +| ---------------------------- | -------------------------- | +| `18.0.20250705-debian-12-r0` | 18.0.20250705-debian-12-r0 | + + +## Usage + +```bash +docker pull ghcr.io/expnt/containers/odoo: +``` diff --git a/containers/odoo/versions.yaml b/containers/odoo/versions.yaml new file mode 100644 index 0000000..84a0636 --- /dev/null +++ b/containers/odoo/versions.yaml @@ -0,0 +1,9 @@ +image_name: odoo +tag_pattern: "{base_version}" +versions: + - base_version: "18.0.20250705-debian-12-r0" +watch: + - pattern: ^\d+\.\d+\.\d+-debian-\d+-r\d+$ + source: docker.io/bitnamilegacy/odoo + target: base_version + type: docker \ No newline at end of file