Skip to content

Commit eda0f42

Browse files
committed
chore(woodpecker): pipeline config VERSION, when build container image
1 parent 49d510a commit eda0f42

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.woodpecker/build-linux.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ pipeline:
1313
image: bash
1414
commands:
1515
- echo $CONTAINER_PASSWORD | docker login $DRYCC_REGISTRY --username $CONTAINER_USERNAME --password-stdin > /dev/null 2>&1
16+
- export VERSION=$([ -z $CI_COMMIT_TAG ] && echo latest || echo $CI_COMMIT_TAG)-$(sed 's#/#-#g' <<< $CI_SYSTEM_ARCH)
1617
- cd grafana && make build-all push-all && cd ..
1718
- cd telegraf && make build-all push-all && cd ..
1819
secrets:

0 commit comments

Comments
 (0)