Skip to content

Commit 45a3ff9

Browse files
authored
Merge pull request #304 from nextcloud/fix/pull-src-n-mail-rcpts
fetch images from Mircosoft Github
2 parents 015593b + 80b8cbf commit 45a3ff9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

translations/transifexSync.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ function runJob(string $name, string $arguments, string $dataPath, string $logPa
6464
$result->startDate = new DateTime();
6565

6666
print(' Pulling container' . PHP_EOL);
67-
shell_exec('docker pull nextcloudci/translations' . $imageName);
67+
shell_exec('docker pull ghcr.io/nextcloud/continuous-integration-translations' . $imageName);
6868
print(' Running container' . PHP_EOL);
69-
exec('docker run -v ' . $dataPath . 'transifexrc:/root/.transifexrc -v ' . $dataPath . 'gpg:/gpg -v ' . $dataPath . 'ssh/id_rsa:/root/.ssh/id_rsa --rm -i nextcloudci/translations' . $imageName . ' ' . $arguments . ' 2>&1', $output, $returnValue);
69+
exec('docker run -v ' . $dataPath . 'transifexrc:/root/.transifexrc -v ' . $dataPath . 'gpg:/gpg -v ' . $dataPath . 'ssh/id_rsa:/root/.ssh/id_rsa --rm -i ghcr.io/nextcloud/continuous-integration-translations' . $imageName . ' ' . $arguments . ' 2>&1', $output, $returnValue);
7070

7171
$result->endDate = new DateTime();
7272

@@ -147,7 +147,7 @@ function runJob(string $name, string $arguments, string $dataPath, string $logPa
147147

148148
// send email in case of trouble
149149
if ($result->errorMessage !== '') {
150-
@mail('[email protected],morris@nextcloud.com,[email protected]', 'Transifex sync job failed', 'This is the log:' . PHP_EOL . $result->errorMessage);
150+
@mail('joas@nextcloud.com,[email protected]', 'Transifex sync job failed', 'This is the log:' . PHP_EOL . $result->errorMessage);
151151
}
152152
}
153153
}

0 commit comments

Comments
 (0)