From 7253f30d2c9531769ec875a142ccc90ec607047e Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Thu, 14 Sep 2023 22:07:52 +0200 Subject: [PATCH] CI WIP --- .woodpecker.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 57acaeb..e423106 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -5,9 +5,19 @@ steps: - npm install - npm run build build-docker: - image: "docker:24.0.6-dind-rootless" - commands: - - docker build -t docker.grondek.pl/react-homepage:0.1 . -# - docker buildx build --platform linux/arm64,linux/amd64 --push -t docker.grondek.pl/react-homepage:0.1 . -# when: -# - branch: [ master, main ] + image: plugins/docker + settings: + repo: docker.grondek.pl/react-homepage + tags: 0.1 +# build-docker: +# image: docker +## image: "docker:24.0.6-dind-rootless" +# commands: +# - docker build -t docker.grondek.pl/react-homepage:0.1 . +## - docker buildx build --platform linux/arm64,linux/amd64 --push -t docker.grondek.pl/react-homepage:0.1 . +## when: +## - branch: [ master, main ] + +services: + docker: + image: "docker:24.0.6-dind-rootless" \ No newline at end of file