diff --git a/Jenkinsfile b/Jenkinsfile index 416a6fd..0d23ec7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,34 +7,8 @@ node { stage('Clone repository') { checkout scm - } - stage('Whoami'){ - sh """ - whoami - """ - } - stage('print directory'){ - sh """ - cd - ls -la - """ } - stage('Enable docker experimental features'){ - sh """ - export DOCKER_CLI_EXPERIMENTAL=enabled - """ - } - stage('Test docker version'){ - sh """ - docker version - """ - } - stage('Test buildx'){ - sh """ - docker buildx - """ - } - stage('Build multiarch image') { + stage('Build and push multiarch image') { sh """ docker buildx build -t reg.greinet.com/agreiner/advancedmqttbridge:latest --platform linux/amd64,linux/arm64 --push . """