Skip to content
Snippets Groups Projects
Verified Commit f9400e61 authored by STEVAN Antoine's avatar STEVAN Antoine :crab:
Browse files

rename to `.env.dockerfile`

parent ddd4a2a9
No related branches found
No related tags found
1 merge request!205build the pipelines image from Dockerfile
Pipeline #8341 passed
File moved
...@@ -16,6 +16,7 @@ use clap::{Parser, Subcommand}; ...@@ -16,6 +16,7 @@ use clap::{Parser, Subcommand};
const REGISTRY: &str = "gitlab-registry.isae-supaero.fr"; const REGISTRY: &str = "gitlab-registry.isae-supaero.fr";
const MIRROR_REGISTRY: &str = "ghcr.io/dragoon-rs"; const MIRROR_REGISTRY: &str = "ghcr.io/dragoon-rs";
const IMAGE: &str = "dragoon/komodo"; const IMAGE: &str = "dragoon/komodo";
const DOCKERFILE: &str = ".env.dockerfile";
#[derive(Parser)] #[derive(Parser)]
#[command(version, about, long_about = None)] #[command(version, about, long_about = None)]
...@@ -149,14 +150,14 @@ fn main() { ...@@ -149,14 +150,14 @@ fn main() {
"build", "build",
"-t", &image, "-t", &image,
".", ".",
"--file", ".gitlab-ci.dockerfile" "--file", DOCKERFILE
); );
nob::run_cmd_and_fail!( nob::run_cmd_and_fail!(
"docker", "docker",
"build", "build",
"-t", &mirror_image, "-t", &mirror_image,
".", ".",
"--file", ".gitlab-ci.dockerfile" "--file", DOCKERFILE
); );
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment