From 2d6f34012ba1742432b8c3fd40d6199fae332e77 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Thu, 17 Oct 2024 19:36:32 +0800 Subject: [PATCH] Set build step to run on x86 --- .woodpecker/.build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.woodpecker/.build.yml b/.woodpecker/.build.yml index f869fea..67c27c7 100644 --- a/.woodpecker/.build.yml +++ b/.woodpecker/.build.yml @@ -1,3 +1,6 @@ +labels: + platform: linux/amd64 + steps: - name: build image: docker @@ -5,7 +8,7 @@ steps: - branch: master event: push commands: - - docker build -t "$REGISTRY_IMAGE_TAG" --platform linux/arm64 . + - docker build -t "$REGISTRY_IMAGE_TAG" . - echo "$FORGEJO_REGISTRY_PASSWORD" | docker login "$FORGEJO_REGISTRY_URL" --password-stdin -u "$FORGEJO_REGISTRY_USERNAME" - docker push "$REGISTRY_IMAGE_TAG" volumes: