parent
7fc6a1a80d
commit
8358dfb2df
1 changed files with 5 additions and 2 deletions
|
|
@ -6,15 +6,18 @@ steps:
|
|||
build-image:
|
||||
image: quay.io/buildah/stable:latest
|
||||
pull: true
|
||||
privileged: true
|
||||
#privileged: true
|
||||
commands:
|
||||
- echo $REGISTRY_PASSWORD | buildah --storage-driver vfs login -u $REGISTRY_USER --password-stdin registry.coolify1.workaround.org
|
||||
|
||||
- buildah --help
|
||||
|
||||
- buildah --storage-driver vfs build \
|
||||
--layers \
|
||||
--cache-to registry.coolify1.workaround.org/debshots-cache \
|
||||
--cache-from registry.coolify1.workaround.org/debshots-cache \
|
||||
--tag stage .
|
||||
--tag registry.coolify1.workaround.org/debshots:stage .
|
||||
|
||||
environment:
|
||||
REGISTRY_USER:
|
||||
from_secret: REGISTRY_USER
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue