From 7067974b8bb58560de1e5d82606789afceef98b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20S=C3=A9hier?= Date: Fri, 10 Nov 2023 10:25:01 +0100 Subject: [PATCH] change package name to docker-terraform --- update.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/update.sh b/update.sh index 31a4152..d2ec4fe 100755 --- a/update.sh +++ b/update.sh @@ -33,11 +33,11 @@ get_tags_ghcr () { } ######################################################## -# From 'hashicorp/terraform' to 'camptocamp/terraform' # +# From 'hashicorp/terraform' to 'camptocamp/docker-terraform' # ######################################################## # Get list of new tags -new_tags=$(echo $(get_tags_dhub 'hashicorp/terraform') $(get_tags_ghcr $github_pat 'camptocamp/terraform') $(get_tags_ghcr $github_pat 'camptocamp/terraform') | tr ' ' '\n' | sort -V | uniq -u) +new_tags=$(echo $(get_tags_dhub 'hashicorp/terraform') $(get_tags_ghcr $github_pat 'camptocamp/docker-terraform') $(get_tags_ghcr $github_pat 'camptocamp/docker-terraform') | tr ' ' '\n' | sort -V | uniq -u) # Build from 0.13.0 forward new_tags=$(echo ${new_tags/0.12.30//} | cut -d/ -f2) @@ -45,6 +45,6 @@ new_tags=$(echo ${new_tags/0.12.30//} | cut -d/ -f2) # Build new images only if there are new tags for j in $new_tags do - docker build --build-arg TAG=$j -t 'ghcr.io/camptocamp/terraform':$j . - docker push 'ghcr.io/camptocamp/terraform':$j + docker build --build-arg TAG=$j -t 'ghcr.io/camptocamp/docker-terraform':$j . + docker push 'ghcr.io/camptocamp/docker-terraform':$j done