diff --git a/.woodpecker.yml b/.woodpecker.yml index 497e4d6..25c7a9e 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,4 +1,5 @@ -pipeline: +platform: linux/amd64 +steps: publish: image: woodpeckerci/plugin-docker-buildx secrets: [docker_username, docker_password] diff --git a/template.nomad b/template.nomad index da832d1..2f53d1f 100644 --- a/template.nomad +++ b/template.nomad @@ -68,4 +68,10 @@ job "lure-web" { } } } + + constraint { + attribute = "${attr.cpu.arch}" + operator = "set_contains_any" + value = "amd64,arm64" + } }