Fix crane tag
This commit is contained in:
parent
6810e19059
commit
f8942a337c
1 changed files with 2 additions and 2 deletions
|
@ -133,7 +133,7 @@ steps:
|
|||
- name: retag prod image
|
||||
image: nicolaka/netshoot
|
||||
environment:
|
||||
REGISTRY: rg.fr-par.scw.cloud/crocmagnon
|
||||
REGISTRY: rg.fr-par.scw.cloud
|
||||
REGISTRY_USERNAME: { from_secret: registry_username }
|
||||
REGISTRY_PASSWORD: { from_secret: registry_password }
|
||||
CRANE_VERSION: 0.4.0
|
||||
|
@ -141,7 +141,7 @@ steps:
|
|||
- wget "https://github.com/google/go-containerregistry/releases/download/v$CRANE_VERSION/go-containerregistry_Linux_x86_64.tar.gz"
|
||||
- tar xzf go-containerregistry_Linux_x86_64.tar.gz
|
||||
- ./crane auth login -u $REGISTRY_USERNAME -p $REGISTRY_PASSWORD $REGISTRY
|
||||
- ./crane tag $REGISTRY/blog:latest-temp latest
|
||||
- ./crane tag $REGISTRY/crocmagnon/blog:latest-temp latest
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
|
|
Reference in a new issue