Update Jenkinsfile

This commit is contained in:
Stas Bezuhlyi 2021-04-08 23:06:01 +03:00 committed by GitHub
parent 7afaa3e07e
commit 60b3efe73e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

5
Jenkinsfile vendored
View file

@ -37,12 +37,11 @@ pipeline {
sh """#!/bin/bash -xe
docker push()
Image push("latest")
}
docker push("latest")
echo "Pushed Docker Image: ${env.IMAGE_NAME}"
}
docker rmi ${env.IMAGE_NAME} ${env.IMAGE_NAME_LATEST}
"""
}
}
}