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 8b510ed commit 17676faCopy full SHA for 17676fa
.github/workflows/release.yaml
@@ -70,3 +70,5 @@ jobs:
70
push: true
71
tags: ${{ steps.meta.outputs.tags }}
72
labels: ${{ steps.meta.outputs.labels }}
73
+ build-args: |
74
+ "VERSION=${VERSION}"
Dockerfile
@@ -3,12 +3,13 @@ WORKDIR /app
3
COPY server server
4
COPY Makefile .
5
6
-ARG VERSION=0.1.0-beta.0
+ARG VERSION
7
ENV VERSION="${VERSION}"
8
9
RUN apk add build-base &&\
10
make clean && make && \
11
- chmod 777 build/server
+ chmod 777 build/server && \
12
+ echo "$VERSION"
13
14
FROM alpine:latest
15
RUN apk --no-cache add ca-certificates
0 commit comments