Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ jobs:
with:
submodules: true

- name: Ensure tag version matches collector version
id: ensure-tag-version
run: |
if [[ "${GITHUB_REF}" == refs/tags/* ]]; then
sed -i "s/^ENV COLLECTOR_VERSION=.*/ENV COLLECTOR_VERSION=${GITHUB_REF#refs\/tags\/v}/" Dockerfile
git diff --exit-code
fi

- name: Determine repository and tags
id: repo
run: |
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ RUN mkdir -p /versions/0-default \
# Set environment variables
ENV BASE_URL=https://telemetry.betterstack.com
ENV CLUSTER_COLLECTOR=false
ENV COLLECTOR_VERSION=0.0.1
ENV COLLECTOR_VERSION=1.0.0
ENV VECTOR_VERSION=0.47.0
ENV BEYLA_VERSION=2.2.4
ENV CLUSTER_AGENT_VERSION=1.2.4
Expand Down