diff --git a/.gitlab-ci.dockerfile b/.env.dockerfile similarity index 100% rename from .gitlab-ci.dockerfile rename to .env.dockerfile diff --git a/make.rs b/make.rs index ed9b320ba7e59cb99168db2f4a7b2c14d3dd8bf7..4a3cf7621a22e3f83eba00bd20aa76f5299e17d9 100755 --- a/make.rs +++ b/make.rs @@ -16,6 +16,7 @@ use clap::{Parser, Subcommand}; const REGISTRY: &str = "gitlab-registry.isae-supaero.fr"; const MIRROR_REGISTRY: &str = "ghcr.io/dragoon-rs"; const IMAGE: &str = "dragoon/komodo"; +const DOCKERFILE: &str = ".env.dockerfile"; #[derive(Parser)] #[command(version, about, long_about = None)] @@ -149,14 +150,14 @@ fn main() { "build", "-t", &image, ".", - "--file", ".gitlab-ci.dockerfile" + "--file", DOCKERFILE ); nob::run_cmd_and_fail!( "docker", "build", "-t", &mirror_image, ".", - "--file", ".gitlab-ci.dockerfile" + "--file", DOCKERFILE ); } }