generate os-arch via DRONE_ARCH

This commit is contained in:
Antoine GIRARD 2018-05-13 03:05:24 +02:00
parent 437ce0a84e
commit 4094407aac
No known key found for this signature in database
GPG Key ID: F3B46D1708E22963

View File

@ -241,7 +241,7 @@ pipeline:
pull: true
secrets: [ docker_username, docker_password ]
repo: gitea/gitea
tag: '${DRONE_BRANCH##release/v}-linux-amd64'
tag: '${DRONE_BRANCH##release/v}-${DRONE_ARCH/\//-}'
when:
event: [ push ]
branch: [ release/* ]
@ -251,7 +251,7 @@ pipeline:
secrets: [ docker_username, docker_password ]
pull: true
repo: gitea/gitea
tag: latest-linux-amd64
tag: 'latest-${DRONE_ARCH/\//-}'
when:
event: [ push, tag ]