Skip to content

Commit

Permalink
fix meta context
Browse files Browse the repository at this point in the history
  • Loading branch information
jiacai2050 committed May 10, 2024
1 parent 2fc57bf commit 4d7dd97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ jobs:
- name: Build and Push HoraeDB Server Docker Image
uses: docker/build-push-action@v3
with:
context: .
context: horaemeta
push: true
file: horaemeta/Dockerfile
tags: apache/horaemeta-server:latest,apache/horaemeta-server:${{ inputs.version }}

horaedb:
Expand Down
8 changes: 4 additions & 4 deletions horaemeta/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ USER root

RUN apt update && apt install --yes gcc g++ libssl-dev pkg-config cmake && rm -rf /var/lib/apt/lists/*

COPY horaemeta /horaemeta
COPY . /horaemeta
WORKDIR /horaemeta

RUN make build
Expand All @@ -39,10 +39,10 @@ RUN apt update && \
apt clean

COPY --from=build /horaemeta/bin/horaemeta-server /usr/bin/horaemeta-server
RUN chmod +x /usr/bin/horaemeta-server
COPY --from=build /horaemeta/docker/entrypoint.sh /entrypoint.sh
COPY --from=build /horaemeta/config/example-standalone.toml /etc/horaemeta/horaemeta.toml

COPY ./docker/entrypoint.sh /entrypoint.sh
COPY ./config/example-standalone.toml /etc/horaemeta/horaemeta.toml
RUN chmod +x /usr/bin/horaemeta-server

ARG TINI_VERSION=v0.19.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
Expand Down

0 comments on commit 4d7dd97

Please sign in to comment.