We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a446171 commit b69d1b6Copy full SHA for b69d1b6
.github/workflows/build_and_push_docker_image.yml
@@ -60,6 +60,8 @@ jobs:
60
platforms: linux/amd64,linux/arm64
61
push: true
62
tags: ${{ steps.meta.outputs.tags }}
63
+ build-args: |
64
+ VERSION=${{ github.event.release.tag_name || inputs.tag_name }}
65
provenance: false # Prevents unknown/unknown Attestation Manifests
66
sbom: false # Prevents SBOM Manifests
67
cache-from: type=gha
Dockerfile
@@ -5,7 +5,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
5
&& rm -rf /var/lib/apt/lists/*
6
7
RUN pip install uv
8
-ENV SETUPTOOLS_SCM_PRETEND_VERSION_FOR_OLLAMA_MCP_BRIDGE=0.1.0
+ARG VERSION=0.1.0
9
+ENV SETUPTOOLS_SCM_PRETEND_VERSION_FOR_OLLAMA_MCP_BRIDGE=${VERSION}
10
11
COPY . ./
12
0 commit comments