13 lines
285 B
YAML
13 lines
285 B
YAML
|
variables:
|
||
|
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
|
||
|
|
||
|
before_script:
|
||
|
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
||
|
|
||
|
oci-container-build:
|
||
|
stage: build
|
||
|
script:
|
||
|
- podman build -t $IMAGE_TAG .
|
||
|
- podman push $IMAGE_TAG
|
||
|
when: manual
|