Skip to content

Commit 59ef267

Browse files
committed
chore(storage): add CODENAME build-arg
1 parent 4fbb836 commit 59ef267

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM registry.drycc.cc/drycc/base:bookworm
1+
ARG CODENAME
2+
FROM registry.drycc.cc/drycc/base:${CODENAME}
23

34
ENV DRYCC_UID=1001 \
45
DRYCC_GID=1001 \

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ podman-build:
2525
podman build --build-arg CODENAME=${CODENAME} -t ${IMAGE} .
2626
podman tag ${IMAGE} ${MUTABLE_IMAGE}
2727

28+
podman-buildx:
29+
podman buildx build --build-arg CODENAME=${CODENAME} --platform ${PLATFORM} -t ${IMAGE} . --push
30+
2831
deploy: build podman-build podman-push
2932

3033
.PHONY: all bootstrap build test podman-build deploy

0 commit comments

Comments
 (0)