From 1fc1b71f756acc8ef7089ecbaa65aa0fab305863 Mon Sep 17 00:00:00 2001 From: Joris Bertomeu Date: Thu, 26 Sep 2024 16:01:13 +0200 Subject: [PATCH] fix woodpecker file --- .woodpecker.yaml | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index e98156b..6204f0c 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -6,26 +6,24 @@ # This config also shows usage of yaml aliases and # was taken from https://codeberg.org/6543/docker-images/src/commit/37e29c227717c1c07d2776cddcf14725bf952875/.woodpecker/hello.yml -when: - branch: main - event: [push] - variables: - &file Dockerfile - &repo 192.168.1.230:5000/bertomlab/crawlflix/front -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 \ No newline at end of file +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