ci(build): add alpine version to the generated tag
This commit is contained in:
parent
975a1e22c5
commit
8b60460d9e
|
@ -23,7 +23,8 @@ steps:
|
|||
generate_docker_tags:
|
||||
image: bash
|
||||
commands:
|
||||
- grep 'TRANSMISSION_VERSION=' Dockerfile | sed s/.*=//g > .tags
|
||||
# <TRANSMISSION_VERSION>-alpine<ALPINE_VERSION>
|
||||
- echo $(grep 'TRANSMISSION_VERSION=' Dockerfile | sed s/.*=//)-alpine$(grep 'FROM alpine' Dockerfile | sed s/.*:// | sed s/[[:space:]].*//) > .tags
|
||||
when:
|
||||
event: push
|
||||
|
||||
|
|
Loading…
Reference in New Issue