diff --git a/.woodpecker/binaries.yml b/.woodpecker/binaries.yml index 262cbd90d9..d1ef95f0f6 100644 --- a/.woodpecker/binaries.yml +++ b/.woodpecker/binaries.yml @@ -4,7 +4,7 @@ depends_on: # TODO: upload build artifacts for pushes to ${CI_REPO_DEFAULT_BRANCH} when: - event: pull_request + event: tag variables: - &golang_image 'docker.io/golang:1.21.5' @@ -74,3 +74,26 @@ steps: image: *golang_image commands: - make release-checksums + + release-dryrun: + depends_on: + - checksums + image: *golang_image + commands: + - ls -la dist/*.* + - cat dist/checksums.txt + + release: + depends_on: + - checksums + image: docker.io/plugins/github-release + secrets: + - source: github_token + target: github_release_api_key + settings: + files: + - dist/*.tar.gz + - dist/*.deb + - dist/*.rpm + - dist/checksums.txt + title: ${CI_COMMIT_TAG##v} diff --git a/docker/Dockerfile.cli.alpine.multiarch b/docker/Dockerfile.cli.alpine.multiarch index 299fd2d6f1..59af4c88cb 100644 --- a/docker/Dockerfile.cli.alpine.multiarch +++ b/docker/Dockerfile.cli.alpine.multiarch @@ -13,8 +13,6 @@ ENV CA_CERTIFICATES_VERSION="20230506-r0" RUN apk add -U --no-cache ca-certificates=${CA_CERTIFICATES_VERSION} ENV GODEBUG=netdns=go -# dmmy change - COPY --from=build /src/dist/woodpecker-cli /bin/ HEALTHCHECK CMD ["/bin/woodpecker-cli", "ping"]