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
a3b4fb8382
commit
a5e8d91dad
1 changed files with 13 additions and 13 deletions
|
|
@ -54,19 +54,19 @@ jobs:
|
||||||
executor: go
|
executor: go
|
||||||
steps:
|
steps:
|
||||||
- run:
|
- run:
|
||||||
name: Install Goreleaser
|
name: Install Goreleaser
|
||||||
command: |
|
command: |
|
||||||
curl \
|
curl \
|
||||||
--silent \
|
--silent \
|
||||||
--show-error \
|
--show-error \
|
||||||
--fail \
|
--fail \
|
||||||
--location \
|
--location \
|
||||||
--header "Accept: application/tar+gzip, application/x-gzip, application/octet-stream" \
|
--header "Accept: application/tar+gzip, application/x-gzip, application/octet-stream" \
|
||||||
-o - \
|
-o - \
|
||||||
"https://github.com/goreleaser/goreleaser/releases/download/v${goreleaser}/goreleaser_Linux_x86_64.tar.gz" \
|
"https://github.com/goreleaser/goreleaser/releases/download/v${goreleaser}/goreleaser_Linux_x86_64.tar.gz" \
|
||||||
| tar --no-same-owner -C /usr/bin/ -xz goreleaser \
|
| tar --no-same-owner -C /usr/bin/ -xz goreleaser \
|
||||||
&& chmod 0755 /usr/bin/goreleaser \
|
&& chmod 0755 /usr/bin/goreleaser \
|
||||||
&& /usr/bin/goreleaser -v
|
&& /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