Commit 9d4b36b
committed
fix: pass Docker tag variables as env vars instead of build args
RELEASE_VERSION, DOCKERHUB_REPO, and DOCKERHUB_IMG are HCL variables
used in docker-bake.hcl tag templates. Passing them via *.args.* only
sets Docker build args, not HCL variables, so the tags defaulted to
"latest" instead of the actual version.1 parent 2846933 commit 9d4b36b
2 files changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
115 | 119 | | |
116 | 120 | | |
117 | 121 | | |
118 | 122 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
| |||
0 commit comments