Added Jenkinsfile
This commit is contained in:
parent
1acb3321e7
commit
678d447dd7
15
Jenkinsfile
vendored
Normal file
15
Jenkinsfile
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
node {
|
||||||
|
environment{
|
||||||
|
IMAGENAME = "agreiner/advancedmqttbridge"
|
||||||
|
DOCKER_CLI_EXPERIMENTAL=enabled
|
||||||
|
}
|
||||||
|
|
||||||
|
stage('Clone repository') {
|
||||||
|
checkout scm
|
||||||
|
}
|
||||||
|
stage('Build and push multiarch image') {
|
||||||
|
sh """
|
||||||
|
docker buildx build -t reg.greinet.com/agreiner/advancedmqttbridge:latest --platform linux/amd64,linux/arm64 --push .
|
||||||
|
"""
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user