diff --git a/Dockerfile b/Dockerfile index ba5cc9c..c3a6083 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM python:3.10.7-slim RUN apt-get update -y && apt-get install -y --fix-missing curl git && rm -rf /var/lib/apt/lists/* -RUN pip3 install git+https://github.com/octue/get-deployment-info@0.3.0 +RUN pip3 install git+https://github.com/octue/get-deployment-info@0.3.1 COPY get_deployment_info/entrypoint.sh /entrypoint.sh diff --git a/README.md b/README.md index 27a037d..38368a3 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ steps: - name: Get deployment info id: get-deployment-info - uses: octue/get-deployment-info@0.3.0 + uses: octue/get-deployment-info@0.3.1 with: gcp_project_name: test-project gcp_project_number: 1234 diff --git a/action.yaml b/action.yaml index aa9033f..9ed1770 100644 --- a/action.yaml +++ b/action.yaml @@ -60,7 +60,7 @@ outputs: description: "If the branch is 'main', this is 'PRODUCTION'; otherwise it's 'STAGING'." runs: using: "docker" - image: "docker://octue/get-deployment-info:0.3.0" + image: "docker://octue/get-deployment-info:0.3.1" args: - ${{ inputs.gcp_project_name }} - ${{ inputs.gcp_project_number }} diff --git a/get_deployment_info/entrypoint.sh b/get_deployment_info/entrypoint.sh index dfa69c7..49fc8fa 100644 --- a/get_deployment_info/entrypoint.sh +++ b/get_deployment_info/entrypoint.sh @@ -37,7 +37,7 @@ if [ "$BRANCH_TAG_KEBAB" = "main" ]; then REVISION_TAG=$VERSION IMAGE_VERSION_TAG="$BRANCH_TAG_KEBAB-$REVISION_TAG" IMAGE_LATEST_TAG="$BRANCH_TAG_KEBAB-latest" - GCP_ENVIRONMENT=production >> $GITHUB_OUTPUT + GCP_ENVIRONMENT_KEBAB=production >> $GITHUB_OUTPUT GCP_ENVIRONMENT_SCREAMING=PRODUCTION >> $GITHUB_OUTPUT else REVISION_TAG=$(expr substr "$BRANCH_TAG_KEBAB" 1 12) diff --git a/pyproject.toml b/pyproject.toml index bac5240..925cdf8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "get-deployment-info" -version = "0.3.0" +version = "0.3.1" description = "A Github Action that gets the information required to build and deploy an Octue service." authors = ["Marcus Lugg "] readme = "README.md"