refactor(ci): move cuddle please image to cuddle
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
8c3b5e660f
commit
5c53589c27
@ -51,6 +51,9 @@ pub struct GlobalArgs {
|
||||
#[arg(long, global = true, help_heading = "Global")]
|
||||
rust_builder_image: Option<String>,
|
||||
|
||||
#[arg(long, global = true, help_heading = "Global")]
|
||||
cuddle_please_image: Option<String>,
|
||||
|
||||
#[arg(long, global = true, help_heading = "Global")]
|
||||
source: Option<PathBuf>,
|
||||
}
|
||||
@ -129,7 +132,10 @@ mod please_release {
|
||||
) -> eyre::Result<()> {
|
||||
DaggerCuddlePleaseAction::dagger(client)
|
||||
.execute_src(&CuddlePleaseSrcArgs {
|
||||
cuddle_image: "kasperhermansen/cuddle-please:main-1691504183".into(),
|
||||
cuddle_image: args
|
||||
.cuddle_please_image
|
||||
.clone()
|
||||
.unwrap_or("kasperhermansen/cuddle-please:latest".into()),
|
||||
server: dagger_cuddle_please::models::SrcServer::Gitea {
|
||||
token: std::env::var("CUDDLE_PLEASE_TOKEN")
|
||||
.expect("CUDDLE_PLEASE_TOKEN to be present"),
|
||||
|
@ -6,6 +6,8 @@ vars:
|
||||
service: "dagger-components"
|
||||
registry: kasperhermansen
|
||||
|
||||
cuddle_please_image: "kasperhermansen/cuddle-please:main-1691504183"
|
||||
|
||||
please:
|
||||
project:
|
||||
owner: kjuulh
|
||||
|
@ -9,4 +9,4 @@ if [[ -n "$CI_PREFIX" ]]; then
|
||||
fi
|
||||
|
||||
|
||||
$CMD_PREFIX main
|
||||
$CMD_PREFIX main --cuddle-please-image="$CUDDLE_PLEASE_IMAGE"
|
||||
|
@ -8,4 +8,4 @@ if [[ -n "$CI_PREFIX" ]]; then
|
||||
CMD_PREFIX="$CI_PREFIX"
|
||||
fi
|
||||
|
||||
$CMD_PREFIX pull-request
|
||||
$CMD_PREFIX pull-request --cuddle-please-image="$CUDDLE_PLEASE_IMAGE"
|
||||
|
Loading…
Reference in New Issue
Block a user