From 819bb655398d4e7bed17fdb42db2d448ee179553 Mon Sep 17 00:00:00 2001 From: Phil Date: Fri, 19 Apr 2024 16:25:53 +0200 Subject: [PATCH] .woodpecker/build-latest.yml aktualisiert --- .woodpecker/build-latest.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.woodpecker/build-latest.yml b/.woodpecker/build-latest.yml index bc918a9..c4afa59 100644 --- a/.woodpecker/build-latest.yml +++ b/.woodpecker/build-latest.yml @@ -5,6 +5,29 @@ steps: - go get -v -d ./... - go build -a -installsuffix cgo -o linux-amd64 . + - name: build-docker-latest-lin/amd64 + image: woodpeckerci/plugin-docker-buildx:3 + environment: + - DOCKER_HOST=tcp://docker:2376 + settings: + platforms: linux/amd64 + repo: git.hackmi.ch/Phil/goshorly + registry: git.hackmi.ch + tags: latest + username: + from_secret: reg-user + password: + from_secret: reg-pass + build_args: + - CI_COMMIT_BRANCH=${CI_COMMIT_BRANCH} + - CI_COMMIT_SHORT_SHA=${CI_COMMIT_SHA:0:8} + depends_on: + - build-binary-UT-lin/amd64 + when: + - event: push + branch: main + - event: [tag, deployment, release, cron] + services: docker: image: docker:24-dind