Require an arch to be set, and default to amd64 in the template

This commit is contained in:
Donal McBreen
2024-08-28 11:35:39 +01:00
parent 56268d724d
commit d2d0223c37
46 changed files with 118 additions and 77 deletions

View File

@@ -24,6 +24,7 @@ registry:
password: root
builder:
driver: docker
arch: <%= uname_m = `uname -m`; uname_m == "x86_64" ? "amd64" : uname_m %>
args:
COMMIT_SHA: <%= `git rev-parse HEAD` %>
healthcheck:

View File

@@ -18,6 +18,7 @@ registry:
password: root
builder:
driver: docker
arch: <%= uname_m = `uname -m`; uname_m == "x86_64" ? "amd64" : uname_m %>
args:
COMMIT_SHA: <%= `git rev-parse HEAD` %>
healthcheck: