Add new test to docker that push to 2 registry in one plan

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
Tom Chauveau
2021-07-01 15:48:03 +02:00
parent 2f710b0ce4
commit a4856e7a6b
4 changed files with 135 additions and 1 deletions

View File

@@ -73,7 +73,11 @@ setup() {
dagger -e docker-pull up
}
@test "docker push and pull: invalid credential" {
@test "docker push: multi registry" {
run dagger -e docker-push-multi-registry up
}
@test "docker push: invalid credential" {
# Push image (SHOULD FAIL)
run dagger -e docker-push-invalid-creds up
assert_failure