Skip to content

Commit

Permalink
Added tagging as latest
Browse files Browse the repository at this point in the history
  • Loading branch information
zmailloux committed Feb 19, 2019
1 parent 7b31c80 commit 9de23e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ pipeline {
sh "gradle clean build"
sh "export VERSION=`cat VERSION` && skaffold build -f skaffold.yaml"
sh "jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:\$(cat VERSION)"
// Also deloy it again as latest.
sh "jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:latest"
}
}
}
Expand Down

0 comments on commit 9de23e8

Please sign in to comment.