Skip to content

Commit d12ff06

Browse files
committed
feat: add version
1 parent 38f31f3 commit d12ff06

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/build-containers.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ jobs:
5757
docker buildx build --platform linux/${{ matrix.arch }} \
5858
-f Dockerfile.dev \
5959
-t ghcr.io/gitroomhq/postiz-app:${{ env.CONTAINERVER }}-${{ matrix.arch }} \
60+
--build-arg VERSION=${{ env.VERSION }} \
6061
--provenance=false --sbom=false \
6162
--output "type=registry,name=ghcr.io/gitroomhq/postiz-app:${{ env.CONTAINERVER }}-${{ matrix.arch }}" .
6263

Dockerfile.dev

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
FROM node:20-alpine3.19
2+
ARG VERSION
3+
ENV VERSION=$VERSION
24
RUN apk add --no-cache g++ make py3-pip supervisor bash caddy
35
RUN npm --no-update-notifier --no-fund --global install [email protected] pm2
46

0 commit comments

Comments
 (0)