ci: fix vars

This commit is contained in:
Michael Grote 2023-11-07 15:39:05 +01:00
parent 15f03a20ce
commit 844bbfaf99
1 changed files with 9 additions and 3 deletions

View File

@ -13,8 +13,8 @@ steps:
repo: registry.mgrote.net/mdns-repeater-mikrotik
registry: registry.mgrote.net
tags:
- ${DRONE_COMMIT_SHA:0:8}
- ${DRONE_COMMIT_BRANCH}
- ${CI_COMMIT_SHA:0:8}
- ${CI_COMMIT_BRANCH}
- latest
platforms:
- linux/arm64
@ -33,10 +33,16 @@ steps:
repo: registry.mgrote.net/mdns-repeater-mikrotik
registry: registry.mgrote.net
tags:
- ${DRONE_TAG}
- ${CI_COMMIT_TAG}
platforms:
- linux/arm64
- linux/amd64
when:
event:
- tag
- ${CI_COMMIT_TAG}
- ${CI_COMMIT_SHA:0:8}
- ${CI_COMMIT_BRANCH}
- latest