diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..cc8a48e --- /dev/null +++ b/Jenkinsfile @@ -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 . + """ + } +} \ No newline at end of file