Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-s committed Jan 6, 2024
1 parent c3ef2e6 commit 378f054
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
25 changes: 24 additions & 1 deletion .woodpecker/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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}
2 changes: 0 additions & 2 deletions docker/Dockerfile.cli.alpine.multiarch
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 378f054

Please sign in to comment.