Mohammed Nafees 4 лет назад
Родитель
Сommit
2d78551f5e
1 измененных файлов с 12 добавлено и 6 удалено
  1. 12 6
      internal/integrations/ci/gitlab/ci.go

+ 12 - 6
internal/integrations/ci/gitlab/ci.go

@@ -396,6 +396,12 @@ func (g *GitlabCI) getCIJob(jobName string) yaml.MapSlice {
 					),
 				},
 			},
+			yaml.MapItem{
+				Key: "tags",
+				Value: []string{
+					"docker",
+				},
+			},
 		)
 	} else {
 		res = append(res,
@@ -415,6 +421,12 @@ func (g *GitlabCI) getCIJob(jobName string) yaml.MapSlice {
 					),
 				},
 			},
+			yaml.MapItem{
+				Key: "tags",
+				Value: []string{
+					"porter-runner",
+				},
+			},
 		)
 	}
 
@@ -423,12 +435,6 @@ func (g *GitlabCI) getCIJob(jobName string) yaml.MapSlice {
 			Key:   "stage",
 			Value: jobName,
 		},
-		yaml.MapItem{
-			Key: "tags",
-			Value: []string{
-				"porter-runner",
-			},
-		},
 		yaml.MapItem{
 			Key:   "timeout",
 			Value: "20 minutes",