Merge pull request #6 from drone-plugins/appleboy-patch-1

fix missing docker image tag.
This commit is contained in:
Thomas Boerger 2018-01-24 09:42:21 +01:00 committed by GitHub
commit cdde135467
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,15 +44,15 @@ deploy_script:
if ( $env:APPVEYOR_REPO_TAG -eq 'true' ) {
$major,$minor,$patch = $env:APPVEYOR_REPO_TAG_NAME.substring(1).split('.')
docker push plugins/matrix:windows
docker push plugins/matrix:windows-amd64
docker tag plugins/matrix:windows plugins/matrix:$major.$minor.$patch-windows
docker tag plugins/matrix:windows-amd64 plugins/matrix:$major.$minor.$patch-windows
docker push plugins/matrix:$major.$minor.$patch-windows-amd64
docker tag plugins/matrix:windows plugins/matrix:$major.$minor-windows
docker tag plugins/matrix:windows-amd64 plugins/matrix:$major.$minor-windows
docker push plugins/matrix:$major.$minor-windows-amd64
docker tag plugins/matrix:windows plugins/matrix:$major-windows
docker tag plugins/matrix:windows-amd64 plugins/matrix:$major-windows
docker push plugins/matrix:$major-windows-amd64
} else {
if ( $env:APPVEYOR_REPO_BRANCH -eq 'master' ) {