diff --git a/Jenkinsfile b/Jenkinsfile index 71cdaa0..d10f8a1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,14 +1,10 @@ pipeline { - agent { - dockerfile { - filename 'Dockerfile' - } - - } + agent any stages { - stage('Build') { + stage('Build Docker Image') { steps { - sh 'echo "test"' + sh '''docker build -t worldcraftdiscordbot:latest . +docker tag worldcraftdiscordbot:latest worldcraftdiscordbot:latest:v${env.BUILD_ID}''' } }