add tag and push image
This commit is contained in:
parent
371ee06a41
commit
398adda930
@ -31,4 +31,22 @@
|
||||
|
||||
- name: Pause for build image
|
||||
pause:
|
||||
prompt: aller au dossier {{ home_dir }}/{{ quarkus_project }}, et exécuter le script build-image.sh
|
||||
prompt: aller au dossier {{ home_dir }}/{{ quarkus_project }}, et exécuter le script build-image.sh
|
||||
|
||||
- name: Get quarkus image
|
||||
docker_image_info:
|
||||
name: quarkus-native
|
||||
register: result
|
||||
|
||||
- name: Check quarkus image
|
||||
assert:
|
||||
that:
|
||||
- result.images | length == 1
|
||||
|
||||
- name: Tag and push to custom registry
|
||||
docker_image:
|
||||
name: quarkus-native
|
||||
repository: registry.valczeryba.ovh:5000/quarkus-native
|
||||
tag: latest
|
||||
push: yes
|
||||
source: local
|
||||
|
Loading…
x
Reference in New Issue
Block a user