Refactor random generation into a definition to make it reusable
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
@@ -15,7 +15,9 @@ registry: {
|
||||
}
|
||||
|
||||
TestPushAndPull: {
|
||||
ref: "daggerio/ci-test:\(random)"
|
||||
random: #Random & {}
|
||||
|
||||
ref: "daggerio/ci-test:\(random.out)"
|
||||
|
||||
// Create image
|
||||
image: docker.#ImageFromDockerfile & {
|
||||
|
Reference in New Issue
Block a user