@@ -71,10 +71,31 @@ jobs:
71
71
go-version : ${{ matrix.go-version }}
72
72
platforms : ${{ matrix.module == 'modulegen' && '["ubuntu-latest", "macos-latest", "windows-latest"]' || '["ubuntu-latest"]' }}
73
73
project-directory : " ${{ matrix.module }}"
74
+ testcontainers-cloud : false
74
75
rootless-docker : false
75
76
ryuk-disabled : false
76
77
secrets : inherit
77
78
79
+ # The job below is a copy of the job above, but using Docker Cloud.
80
+ test-testcontainers-cloud :
81
+ # the core module is identified by the empty string (the root path)
82
+ if : ${{ contains(fromJSON(needs.detect-modules.outputs.modules), '') }}
83
+ needs :
84
+ - detect-modules
85
+ - lint
86
+ name : " Test using Docker Cloud"
87
+ strategy :
88
+ matrix :
89
+ go-version : [1.23.x, 1.24.x]
90
+ uses : ./.github/workflows/ci-test-go.yml
91
+ with :
92
+ go-version : ${{ matrix.go-version }}
93
+ platforms : ' ["ubuntu-latest"]'
94
+ project-directory : " ."
95
+ testcontainers-cloud : true
96
+ rootless-docker : false
97
+ ryuk-disabled : false
98
+
78
99
# The job below is a copy of the job above, but with ryuk disabled.
79
100
# It's executed in the first stage to avoid concurrency issues.
80
101
test-reaper-off :
92
113
go-version : ${{ matrix.go-version }}
93
114
platforms : ' ["ubuntu-latest"]'
94
115
project-directory : " ."
116
+ testcontainers-cloud : false
95
117
rootless-docker : false
96
118
ryuk-disabled : true
97
119
@@ -112,6 +134,7 @@ jobs:
112
134
go-version : ${{ matrix.go-version }}
113
135
platforms : ' ["ubuntu-latest"]'
114
136
project-directory : " ."
137
+ testcontainers-cloud : false
115
138
rootless-docker : true
116
139
ryuk-disabled : false
117
140
0 commit comments