File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -116,12 +116,10 @@ build:docker:webgrind:
116116
117117build:docker:swaks :
118118 stage : build
119- when : manual
120- allow_failure : false
121119 script :
122120 - packer version
123121 - pushd swaks
124- - TAG=20190914.0
122+ - TAG=$(curl -sL https://api.github.com/repos/jetmore/swaks/releases/latest | jq -r .tag_name | cut -c 2-)
125123 - echo 'TAG - ' $TAG
126124 - DOCKER_TOKEN=$DOCKER_HUB_TOKEN packer build --var docker_tag=$TAG box.json
127125 tags :
Original file line number Diff line number Diff line change 11## Build
22
3- ` DOCKER_TOKEN=<docker_password_or_token> packer build --var docker_tag=20190914.0 box.json `
3+ To get latest tag, visit [ swaks release page on GitHub] ( https://github.com/jetmore/swaks/releases )
4+
5+ ` DOCKER_TOKEN=<docker_password_or_token> packer build --var docker_tag=20240103.0 box.json `
46
57## Run
68
You can’t perform that action at this time.
0 commit comments