Set all platforms
This commit is contained in:
parent
0cbfe3fbeb
commit
1aa8441ed1
1 changed files with 4 additions and 6 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
|
@ -34,10 +34,8 @@ pipeline {
|
||||||
// DOCKER = credentials('dockerhub-mycroft')
|
// DOCKER = credentials('dockerhub-mycroft')
|
||||||
|
|
||||||
DOCKER_BUILDKIT = '1'
|
DOCKER_BUILDKIT = '1'
|
||||||
// DOCKER_PLATFORM = 'linux/amd64,linux/arm64,linux/arm/v7'
|
DOCKER_PLATFORM = 'linux/amd64,linux/arm64,linux/arm/v7'
|
||||||
DOCKER_PLATFORM = 'linux/arm64'
|
|
||||||
DOCKER_TAG = 'mycroftai/mimic3'
|
DOCKER_TAG = 'mycroftai/mimic3'
|
||||||
DOCKER_OUTPUT = '--load'
|
|
||||||
|
|
||||||
DEFAULT_VOICE = 'en_UK/apope_low'
|
DEFAULT_VOICE = 'en_UK/apope_low'
|
||||||
DEFAULT_VOICE_PATH = '/home/jenkins/.local/share/mycroft/mimic3/voices'
|
DEFAULT_VOICE_PATH = '/home/jenkins/.local/share/mycroft/mimic3/voices'
|
||||||
|
|
@ -187,6 +185,8 @@ pipeline {
|
||||||
stage('Publish docker') {
|
stage('Publish docker') {
|
||||||
environment {
|
environment {
|
||||||
MIMIC3_VERSION = readFile(file: 'mimic3_tts/VERSION').trim()
|
MIMIC3_VERSION = readFile(file: 'mimic3_tts/VERSION').trim()
|
||||||
|
DOCKER_TAG = "mycroftai/mimic3:latest,mycroftai/mimic3:${env.MIMIC3_VERSION}"
|
||||||
|
DOCKER_OUTPUT = '--push'
|
||||||
}
|
}
|
||||||
|
|
||||||
when {
|
when {
|
||||||
|
|
@ -197,10 +197,8 @@ pipeline {
|
||||||
|
|
||||||
steps {
|
steps {
|
||||||
// TODO: Publish to DockerHub
|
// TODO: Publish to DockerHub
|
||||||
// sh 'docker tag ${DOCKER_TAG}:${MIMIC3_VERSION} ${DOCKER_TAG}:latest'
|
|
||||||
// sh 'docker login --username "${DOCKER_USR}" --password "${DOCKER_PSW}"'
|
// sh 'docker login --username "${DOCKER_USR}" --password "${DOCKER_PSW}"'
|
||||||
// sh 'docker push ${DOCKER_TAG}:${MIMIC3_VERSION}'
|
// sh 'make docker'
|
||||||
// sh 'docker push ${DOCKER_TAG}:latest'
|
|
||||||
echo 'Published docker image'
|
echo 'Published docker image'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue