- commit
- 28f0004
- parent
- b4d4114
- author
- Eric Bower
- date
- 2023-08-04 18:54:45 +0000 UTC
fix: podman bp commands
1 files changed,
+10,
-0
M
Makefile
M
Makefile
+10,
-0
1@@ -41,6 +41,16 @@ bp-%: bp-setup
2 bp-all: bp-prose bp-lists bp-pastes bp-imgs bp-feeds bp-pgs
3 .PHONY: bp-all
4
5+bp-podman-%:
6+ $(DOCKER_CMD) buildx build --platform $(DOCKER_PLATFORM) --build-arg "APP=$*" -t "ghcr.io/picosh/pico/$*-ssh:$(DOCKER_TAG)" --target release-ssh .
7+ $(DOCKER_CMD) buildx build --platform $(DOCKER_PLATFORM) --build-arg "APP=$*" -t "ghcr.io/picosh/pico/$*-web:$(DOCKER_TAG)" --target release-web .
8+ $(DOCKER_CMD) push "ghcr.io/picosh/pico/$*-ssh:$(DOCKER_TAG)"
9+ $(DOCKER_CMD) push "ghcr.io/picosh/pico/$*-web:$(DOCKER_TAG)"
10+.PHONY: bp-%
11+
12+bp-podman-all: bp-podman-prose bp-podman-lists bp-podman-pastes bp-podman-imgs bp-podman-feeds bp-podman-pgs
13+.PHONY: all
14+
15 build-%:
16 go build -o "build/$*-web" "./cmd/$*/web"
17 go build -o "build/$*-ssh" "./cmd/$*/ssh"