Merge branch 'ci-registry-login' into 'main'
ci: Push to integrated registry by default See merge request cgwalters-playground/bootc-demo-base-images!3
This commit is contained in:
commit
71e6b3a9e6
|
|
@ -6,8 +6,14 @@ stages:
|
|||
- build
|
||||
|
||||
build:
|
||||
variables:
|
||||
COMPOSE_INITIALIZE: ""
|
||||
FORCE: ""
|
||||
stage: build
|
||||
before_script:
|
||||
# Log into the registry
|
||||
- echo "$CI_REGISTRY_PASSWORD" | podman login -u "$CI_REGISTRY_USER" --password-stdin $CI_REGISTRY
|
||||
script:
|
||||
- rpm-ostree install distribution-gpg-keys
|
||||
- rpm-ostree compose image -i --format=ociarchive fedora.yaml fedora.oci-archive
|
||||
- rpm-ostree compose image ${COMPOSE_INITIALIZE:+--initialize} ${FORCE:+--force-nocache} --format=registry fedora.yaml ${CI_REGISTRY_IMAGE}/fedora
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue