From 572be625bd2210ef9c400551832f5052c6a86b8e Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Sat, 26 Nov 2022 18:37:05 +0100 Subject: [PATCH] push to scaleway registry --- inventory/group_vars/local_vault | 31 ++++++++++++++++------------- scaleway-k8s/tasks/create-build.yml | 10 +++++++++- 2 files changed, 26 insertions(+), 15 deletions(-) diff --git a/inventory/group_vars/local_vault b/inventory/group_vars/local_vault index e330945..db58efe 100644 --- a/inventory/group_vars/local_vault +++ b/inventory/group_vars/local_vault @@ -1,15 +1,18 @@ $ANSIBLE_VAULT;1.1;AES256 -65363666393931336562303562336163356633643832646633383864346538386436613363316661 -3766663332623564646630633232393830326262626231330a363035363237653930656362633561 -65666133376131643366393234623861613862646466383038656536656466343134666135363333 -3733313835383034380a643063373765356637373332636264653539363963326366646664336431 -66613265623364383933326165383162366464633037323366303931636136623835313334623131 -31666161623238346631316236643735653134306536663538646437343066323930383261646161 -62616361303630333230346263343937633461396362613963626433623264333039306530396136 -65623163383965326161383238366564393632323830333336623839636564623535643463356666 -61326634663834636336313233306535646366363437346262323939613937333831646466326264 -65363534303037376166663363306433303633383662316235343634343035323838663931613733 -33326563323332353765666639643462353935303064626266643339623238316233383837396631 -65376264346139353939396538313837636333643239623532333636653364646137356439323833 -35363730643336376361656366666136313431613337363533643539373865663766653161366530 -6339316532613964626139336236346635643638633439376662 +62303334613131393231383663303736313438613735343864663138326464326434396561613630 +6134343565363064663931313335613936333039386138360a616333313562386566313563666139 +64376131393634346664376465663965396236626663613831306433313735303338393061313663 +3738343164626266640a626636356332303961366566363838306161303530613964393531353761 +64366265633037363862366334396333323865653963326335356334616234306437333334343538 +31666530613337376432323561353036383530653737373434633431616233653962656134393766 +31656461373337626531313161346664346139653933613632346162313565623436663430323266 +32646464373737323230323736376665326437396363343233646235623638363537393339313437 +33353962633365353466643635656464383238636139353436326633633430623261656633336266 +63633766633836336662363063306330393463326138616336623365323535313264383161623434 +32626237643238396336616533636564646464376232333864396663666563393839643863316338 +63616632613230323663353430653430663362626331653230393934313339396432343361383266 +33333861636265663863313931343463363034376462363466306339373134363535333164646663 +35386533646333656164663065353336333563396430626636326639306330313066326662623663 +31666433333135373462306335666662366130363634386564353065626332643432626632303932 +39393131643037333765653964376663336164313732336134616466353163653036336639336466 +34333738353830336165303333646161386533663033343838316162656638306131 diff --git a/scaleway-k8s/tasks/create-build.yml b/scaleway-k8s/tasks/create-build.yml index ad4905f..20b479b 100644 --- a/scaleway-k8s/tasks/create-build.yml +++ b/scaleway-k8s/tasks/create-build.yml @@ -43,10 +43,18 @@ that: - result.images | length == 1 +- name: Login to scaleway registry + docker_login: + registry_url: rg.fr-par.scw.cloud/covas + username: nologin + password: "{{ token_scaleway }}" + reauthorize: true + + - name: Tag and push to custom registry docker_image: name: quarkus-native - repository: registry.valczeryba.ovh:5000/quarkus-native + repository: rg.fr-par.scw.cloud/covas/quarkus-native tag: latest push: yes source: local