This commit is contained in:
parent
98c8fda2e0
commit
ef885e4575
1 changed files with 4 additions and 2 deletions
|
|
@ -11,9 +11,11 @@ steps:
|
||||||
from_secret: REGISTRY_TOKEN
|
from_secret: REGISTRY_TOKEN
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
- export IMAGE_TAG="$REGISTRY/$REGISTRY_USER/jdk21-builder:$CI_COMMIT_REF"
|
- export IMAGE_TAG=$(git describe --tags)
|
||||||
# - podman build -t $IMAGE_TAG .
|
- export IMAGE_REF="$REGISTRY/$REGISTRY_USER/jdk21-builder:$IMAGE_TAG"
|
||||||
- echo $REGISTRY_TOKEN | podman login -u $REGISTRY_USER --password-stdin $REGISTRY
|
- echo $REGISTRY_TOKEN | podman login -u $REGISTRY_USER --password-stdin $REGISTRY
|
||||||
|
- echo Building image $IMAGE_REF
|
||||||
|
# - podman build -t $IMAGE_TAG .
|
||||||
backend_options:
|
backend_options:
|
||||||
kubernetes:
|
kubernetes:
|
||||||
securityContext:
|
securityContext:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue