File tree Expand file tree Collapse file tree 3 files changed +22
-15
lines changed Expand file tree Collapse file tree 3 files changed +22
-15
lines changed Original file line number Diff line number Diff line change 11steps :
2- build-feature :
2+ build-and-push :
33 image : woodpeckerci/plugin-docker-buildx
44 settings :
55 repo : ${CI_REPO/mu-semtech/semtech}
6- tags : ${CI_COMMIT_BRANCH/\//-}
7- platforms : linux/amd64,linux/arm64
8- secrets : [ docker_username, docker_password ]
6+ tags : " feature-${CI_COMMIT_BRANCH##feature/}"
7+ username :
8+ from_secret : docker_username
9+ password :
10+ from_secret : docker_password
911when :
10- branch : feature/*
11- event : push
12+ - event : push
13+ branch : [feature/*]
Original file line number Diff line number Diff line change 11steps :
2- build-latest :
2+ build-and-push :
33 image : woodpeckerci/plugin-docker-buildx
44 settings :
55 repo : ${CI_REPO/mu-semtech/semtech}
66 tags : latest
7- platforms : linux/amd64,linux/arm64
8- secrets : [ docker_username, docker_password ]
7+ username :
8+ from_secret : docker_username
9+ password :
10+ from_secret : docker_password
911when :
10- branch : master
11- event : push
12+ - event : push
13+ branch : [master, main]
Original file line number Diff line number Diff line change 11steps :
2- build- release :
2+ release :
33 image : woodpeckerci/plugin-docker-buildx
44 settings :
55 repo : ${CI_REPO/mu-semtech/semtech}
66 tags : " ${CI_COMMIT_TAG##v}"
77 platforms : linux/amd64,linux/arm64
8- secrets : [ docker_username, docker_password ]
8+ username :
9+ from_secret : docker_username
10+ password :
11+ from_secret : docker_password
912when :
10- event : tag
11- tag : v*
13+ - event : tag
14+ ref : refs/tags/ v*
You can’t perform that action at this time.
0 commit comments