feat: Implement basic build & push capabilities for services (#68)

* wip: Build experiments

* wip: overall structure for build/push

* ref: Split method, add test fixture

* feat: Basic push functionality

* ref: Better structure and output

* feat: Handle registry auth

* feat: Integrate with deploy

* ref: Split into files

* fix: Modernize push options
This commit is contained in:
Anton Ovchinnikov
2025-06-03 21:35:54 +02:00
committed by GitHub
parent b651d95183
commit 971b21d6c1
9 changed files with 321 additions and 0 deletions
@@ -0,0 +1,3 @@
FROM busybox:1.37.0-musl
ENV SERVICE_NAME=busybox-first
@@ -0,0 +1,3 @@
FROM busybox:1.37.0-musl
ENV SERVICE_NAME=busybox-second
@@ -0,0 +1,14 @@
services:
service-no-build:
image: portainer/pause:3.9
busybox-first:
image: localhost:5000/busybox-first
build:
context: busybox-first/
busybox-second:
image: localhost:5000/busybox-second
build:
context: busybox-second/
dockerfile: Dockerfile.alt