mirror of
https://github.com/thegeeklab/drone-matrix.git
synced 2024-11-22 10:20:39 +00:00
Merge pull request #6 from drone-plugins/appleboy-patch-1
fix missing docker image tag.
This commit is contained in:
commit
cdde135467
@ -44,15 +44,15 @@ deploy_script:
|
|||||||
if ( $env:APPVEYOR_REPO_TAG -eq 'true' ) {
|
if ( $env:APPVEYOR_REPO_TAG -eq 'true' ) {
|
||||||
$major,$minor,$patch = $env:APPVEYOR_REPO_TAG_NAME.substring(1).split('.')
|
$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 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 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
|
docker push plugins/matrix:$major-windows-amd64
|
||||||
} else {
|
} else {
|
||||||
if ( $env:APPVEYOR_REPO_BRANCH -eq 'master' ) {
|
if ( $env:APPVEYOR_REPO_BRANCH -eq 'master' ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user