diff --git a/scaleway-k8s/tasks/create-build.yml b/scaleway-k8s/tasks/create-build.yml index 864e689..ad4905f 100644 --- a/scaleway-k8s/tasks/create-build.yml +++ b/scaleway-k8s/tasks/create-build.yml @@ -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 \ No newline at end of file + 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