From d70a0db92fc5a6c829947778cc24b55618b79a55 Mon Sep 17 00:00:00 2001 From: Joris Bertomeu Date: Thu, 26 Sep 2024 16:02:17 +0200 Subject: [PATCH] fix woodpecker file --- .woodpecker.yaml | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 6204f0c..10dab16 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -10,20 +10,21 @@ variables: - &file Dockerfile - &repo 192.168.1.230:5000/bertomlab/crawlflix/front -publish: - image: woodpeckerci/plugin-docker-buildx - settings: - dockerfile: *file - insecure: true - platforms: linux/arm/v7,linux/arm64/v8,linux/amd64 - repo: *repo - tags: - - latest - - ${CI_COMMIT_SHA} - username: - from_secret: docker_registry_username - password: - from_secret: docker_registry_password - when: - branch: main - event: [push] \ No newline at end of file +steps: + publish: + image: woodpeckerci/plugin-docker-buildx + settings: + dockerfile: *file + insecure: true + platforms: linux/arm/v7,linux/arm64/v8,linux/amd64 + repo: *repo + tags: + - latest + - ${CI_COMMIT_SHA} + username: + from_secret: docker_registry_username + password: + from_secret: docker_registry_password + when: + branch: main + event: [push] \ No newline at end of file