mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-16 15:10:12 +01:00
install goreleaser in ci
This commit is contained in:
parent
1fdfbb38c7
commit
a3b4fb8382
1 changed files with 14 additions and 0 deletions
|
|
@ -53,6 +53,20 @@ jobs:
|
||||||
publishing:
|
publishing:
|
||||||
executor: go
|
executor: go
|
||||||
steps:
|
steps:
|
||||||
|
- run:
|
||||||
|
name: Install Goreleaser
|
||||||
|
command: |
|
||||||
|
curl \
|
||||||
|
--silent \
|
||||||
|
--show-error \
|
||||||
|
--fail \
|
||||||
|
--location \
|
||||||
|
--header "Accept: application/tar+gzip, application/x-gzip, application/octet-stream" \
|
||||||
|
-o - \
|
||||||
|
"https://github.com/goreleaser/goreleaser/releases/download/v${goreleaser}/goreleaser_Linux_x86_64.tar.gz" \
|
||||||
|
| tar --no-same-owner -C /usr/bin/ -xz goreleaser \
|
||||||
|
&& chmod 0755 /usr/bin/goreleaser \
|
||||||
|
&& /usr/bin/goreleaser -v
|
||||||
- run: echo Done
|
- run: echo Done
|
||||||
|
|
||||||
# version: 2
|
# version: 2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue