Update scripts to use zot
This commit is contained in:
@ -35,12 +35,12 @@ chomp($git_commit_sha);
|
||||
# -- Build the image with SHA tag
|
||||
# -- my main build system is DRONE, so I'm using DRONE variables a lot
|
||||
# ---------------------------------------------------------------------------
|
||||
my $container_registry = $ENV{'CONTAINER_REGISTRY'} || 'git.badhouseplants.net';
|
||||
my $container_registry = $ENV{'CONTAINER_REGISTRY'} || 'zot.badhouseplants.net';
|
||||
my $image_name = $ENV{'PACKAGE_NAME'} | $ENV{'DRONE_REPO'} || "badhouseplants/badhouseplants-net";
|
||||
my $tag = "$container_registry/$image_name:$git_commit_sha";
|
||||
my $custom_tag = $ENV{'CUSTOM_TAG'} || "";
|
||||
my $username = $ENV{'DRONE_USERNAME'} || "allanger";
|
||||
my $password = $ENV{'GITEA_TOKEN'} || "YOU NOT AUTHORIZED, PAL";
|
||||
my $password = $ENV{'REGISTRY_TOKEN'} || "YOU NOT AUTHORIZED, PAL";
|
||||
my $containerfile = $ENV{'CONTAINERFILE'} || "Containerfile";
|
||||
my $args = $ENV{'BUILD_ARGS'};
|
||||
0 == system ("buildah login --username $username --password $password $container_registry") or die $!;
|
||||
|
Reference in New Issue
Block a user