Refactor random generation into a definition to make it reusable

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
Tom Chauveau
2021-06-07 23:23:16 +02:00
parent e3ee7f2568
commit fdb91a7332
20 changed files with 288 additions and 216 deletions

View File

@@ -15,7 +15,9 @@ registry: {
}
TestPushAndPull: {
ref: "daggerio/ci-test:\(random)"
random: #Random & {}
ref: "daggerio/ci-test:\(random.out)"
// Create image
image: docker.#ImageFromDockerfile & {