Skip to content

Commit 010e717

Browse files
committed
Add docker ci
1 parent 5376df6 commit 010e717

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/publish_docker_images.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ jobs:
6262
echo "QW_COMMIT_DATE=$(TZ=UTC0 git log -1 --format=%cd --date=format-local:%Y-%m-%dT%H:%M:%SZ)" >> $GITHUB_ENV
6363
echo "QW_COMMIT_HASH=$(git rev-parse HEAD)" >> $GITHUB_ENV
6464
echo "QW_COMMIT_TAGS=$(git tag --points-at HEAD | tr '\n' ',')" >> $GITHUB_ENV
65+
if [[ "${{ github.event_name }}" == "push" && "${{ github.ref_type }}" == "tag" && "${GITHUB_REF#refs/tags/}" == *"jemprof"* ]]; then
66+
echo "CARGO_FEATURES=release-jemalloc-profiled" >> $GITHUB_ENV
67+
else
68+
echo "CARGO_FEATURES=release-feature-set" >> $GITHUB_ENV
69+
fi
6570
6671
- name: Build and push image
6772
uses: docker/build-push-action@v6
@@ -73,6 +78,7 @@ jobs:
7378
QW_COMMIT_DATE=${{ env.QW_COMMIT_DATE }}
7479
QW_COMMIT_HASH=${{ env.QW_COMMIT_HASH }}
7580
QW_COMMIT_TAGS=${{ env.QW_COMMIT_TAGS }}
81+
CARGO_FEATURES=${{ env.CARGO_FEATURES }}
7682
labels: ${{ steps.meta.outputs.labels }}
7783
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
7884

quickwit/quickwit-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ release-macos-feature-vendored-set = [
133133
"quickwit-metastore/postgres",
134134
"quickwit-doc-mapper/multilang",
135135
]
136-
release-heap-profiled = [
136+
release-jemalloc-profiled = [
137137
"release-feature-set",
138138
"jemalloc-profiled",
139139
]

0 commit comments

Comments
 (0)