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