Skip to content

Commit 1b3056c

Browse files
Updated github actions
1 parent 75ef2d3 commit 1b3056c

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/build-docker.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
tags:
66
- 'v*.*.*'
7+
- 'dev*'
78

89
jobs:
910
release:

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:24.04 as builder
1+
FROM ubuntu:24.04 AS builder
22
RUN DEBIAN_FRONTEND=noninteractive apt update -y \
33
&& apt install -y wget curl build-essential cmake clang openssl \
44
libssl-dev zlib1g-dev gperf wget git ninja-build libsodium-dev libmicrohttpd-dev liblz4-dev \
@@ -32,7 +32,7 @@ RUN cmake -DCMAKE_BUILD_TYPE=Release -DPORTABLE=1 .. && make -j$(nproc) && make
3232
# end builder
3333

3434

35-
FROM ubuntu:24.04
35+
FROM ubuntu:24.04 AS http-api-cpp
3636
RUN DEBIAN_FRONTEND=noninteractive apt update -y \
3737
&& apt install -y wget curl dnsutils libcurl4 libfmt9 libsodium23 libcctz2 libatomic1 libicu74 \
3838
&& rm -rf /var/lib/apt/lists/*

docker-compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ services:
44
build:
55
context: .
66
dockerfile: Dockerfile
7+
target: http-api-cpp
78
command: --config /app/static_config.yaml --config_vars /run/secrets/config-vars
89
ports:
910
- ${THACPP_PORT:-8081}:8081

0 commit comments

Comments
 (0)