Test.
This commit is contained in:
parent
5398059bb1
commit
1a4a8a2d4b
1 changed files with 4 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
when:
|
||||
- event: manual
|
||||
- event: tag
|
||||
|
||||
clone:
|
||||
- name: git
|
||||
|
|
@ -19,14 +19,15 @@ steps:
|
|||
from_secret: REGISTRY_TOKEN
|
||||
|
||||
commands:
|
||||
# Because we run this as user 1000 to make podman work:
|
||||
- git config --global --add safe.directory $(pwd)
|
||||
- git describe --tags
|
||||
- export IMAGE_TAG=$(git describe --tags)
|
||||
- echo $IMAGE_TAG
|
||||
- export IMAGE_REF="$REGISTRY/$REGISTRY_USER/jdk21-builder:$IMAGE_TAG"
|
||||
- echo $REGISTRY_TOKEN | podman login -u $REGISTRY_USER --password-stdin $REGISTRY
|
||||
- echo Building image $IMAGE_REF
|
||||
# - podman build -t $IMAGE_TAG .
|
||||
- podman build -t $IMAGE_REF .
|
||||
- podman push $IMAGE_REF
|
||||
backend_options:
|
||||
kubernetes:
|
||||
securityContext:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue