From ced1521f9af7b1381dadaea43747d1dcb7edc4e8 Mon Sep 17 00:00:00 2001 From: cortadocodes Date: Mon, 14 Oct 2024 15:20:59 +0100 Subject: [PATCH] WIP: Try python base image again --- Dockerfile | 8 +++++++- action.yaml | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5b45f16..d2faa03 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,10 @@ -FROM octue/check-semantic-version:1.0.0.beta-9 +FROM python:3.10.7-slim + +RUN apt-get update && apt-get install -y --no-install-recommends curl git jq && rm -rf /var/lib/apt/lists/* + +RUN curl -L https://github.com/idc101/git-mkver/releases/download/v1.2.1/git-mkver-linux-amd64-1.2.1.tar.gz \ + | tar xvz \ + && mv git-mkver /usr/local/bin # Install poetry. ENV POETRY_HOME=/root/.poetry diff --git a/action.yaml b/action.yaml index 6e96d71..e45fd80 100644 --- a/action.yaml +++ b/action.yaml @@ -14,7 +14,7 @@ inputs: default: 'major' runs: using: 'docker' - image: 'docker://octue/check-semantic-version:1.0.5.beta-8' + image: 'docker://octue/check-semantic-version:1.0.5.beta-11' args: - ${{ inputs.path }} - ${{ inputs.breaking_change_indicated_by }}