fix: Set the correct container name in the cleanup script
This commit is contained in:
parent
113fe6ff03
commit
896dc589d4
@ -28,9 +28,8 @@ use warnings;
|
|||||||
my $gitea_url=$ENV{'GITEA_URL'} || 'https://git.badhouseplants.net/api/v1';
|
my $gitea_url=$ENV{'GITEA_URL'} || 'https://git.badhouseplants.net/api/v1';
|
||||||
my $gitea_org=$ENV{'DRONE_REPO_NAMESPACE'} || 'badhouseplants';
|
my $gitea_org=$ENV{'DRONE_REPO_NAMESPACE'} || 'badhouseplants';
|
||||||
my $gitea_package=$ENV{'DRONE_REPO_NAME'} || 'badhouseplants-net';
|
my $gitea_package=$ENV{'DRONE_REPO_NAME'} || 'badhouseplants-net';
|
||||||
my $image_name = $ENV{'DRONE_REPO'} || "badhouseplants/badhouseplants-net";
|
|
||||||
my $gitea_api="$gitea_url/packages/$gitea_org/container/$gitea_package";
|
my $gitea_api="$gitea_url/packages/$gitea_org/container/$gitea_package";
|
||||||
my $gitea_list_api="$gitea_url/packages/$gitea_org?page=1&type=container&q=badhouseplants-net";
|
my $gitea_list_api="$gitea_url/packages/$gitea_org?page=1&type=container&q=$gitea_package";
|
||||||
my $gitea_token=$ENV{'GITEA_TOKEN'};
|
my $gitea_token=$ENV{'GITEA_TOKEN'};
|
||||||
my $gitea_user=$ENV{'GITEA_USER'} || $ENV{'DRONE_COMMIT_AUTHOR'};
|
my $gitea_user=$ENV{'GITEA_USER'} || $ENV{'DRONE_COMMIT_AUTHOR'};
|
||||||
# ---------------------------------------
|
# ---------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user