add tag and push image
This commit is contained in:
parent
371ee06a41
commit
398adda930
@ -32,3 +32,21 @@
|
|||||||
- name: Pause for build image
|
- name: Pause for build image
|
||||||
pause:
|
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