diff --git a/.woodpecker/base.yaml b/.woodpecker/base.yaml index f8107c8e..a37b88eb 100644 --- a/.woodpecker/base.yaml +++ b/.woodpecker/base.yaml @@ -7,18 +7,8 @@ labels: variables: - &node_image 'node:14-bullseye' - &buildx_image 'woodpeckerci/plugin-docker-buildx:2.2.1' - - buildx_base_settings: &buildx_base_settings - platforms: linux/amd64 - dockerfile: docker/Dockerfile.ci - context: . - registry: - from_secret: registry_domain - repo: - from_secret: target_image_name - password: - from_secret: registry_token - username: - from_secret: registry_user + - &platforms 'linux/amd64' + - &dockerfile 'docker/Dockerfile.ci' steps: @@ -41,8 +31,8 @@ steps: image: *buildx_image pull: true settings: - platforms: linux/amd64 - dockerfile: docker/Dockerfile.ci + platforms: *platforms + dockerfile: *dockerfile context: . registry: from_secret: registry_domain @@ -62,8 +52,8 @@ steps: image: *buildx_image pull: true settings: - platforms: linux/amd64 - dockerfile: docker/Dockerfile.ci + platforms: *platforms + dockerfile: *dockerfile context: . registry: from_secret: registry_domain @@ -82,8 +72,8 @@ steps: image: *buildx_image pull: true settings: - platforms: linux/amd64 - dockerfile: docker/Dockerfile.ci + platforms: *platforms + dockerfile: *dockerfile context: . registry: from_secret: registry_domain