From aaea889e47c66664eee2148bc82e88aa5d787395 Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Sat, 3 Apr 2021 21:38:26 +0100 Subject: [PATCH] use apt-get in drone.yml --- .drone.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3a78f76..3ba15e5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,10 +16,10 @@ steps: GITHUB_TOKEN: from_secret: github_token commands: - - apt update -y - - apt install build-essential python3-pip curl software-properties-common sed upx -y + - apt-get update -y + - apt-get install build-essential python3-pip curl software-properties-common sed upx -y - (curl -sL https://deb.nodesource.com/setup_14.x | bash -) - - apt install nodejs + - apt-get install nodejs - curl -sL https://git.io/goreleaser > ../goreleaser - chmod +x ../goreleaser - ./scripts/version.sh ../goreleaser @@ -73,10 +73,10 @@ steps: - name: build image: golang:latest commands: - - apt update -y - - apt install build-essential python3-pip curl software-properties-common sed upx -y + - apt-get update -y + - apt-get install build-essential python3-pip curl software-properties-common sed upx -y - (curl -sL https://deb.nodesource.com/setup_14.x | bash -) - - apt install nodejs + - apt-get install nodejs - curl -sL https://git.io/goreleaser > goreleaser - chmod +x goreleaser - ./scripts/version.sh ./goreleaser --snapshot --skip-publish --rm-dist @@ -143,10 +143,10 @@ steps: - name: build image: golang:latest commands: - - apt update -y - - apt install build-essential python3-pip curl software-properties-common sed upx -y + - apt-get update -y + - apt-get install build-essential python3-pip curl software-properties-common sed upx -y - (curl -sL https://deb.nodesource.com/setup_14.x | bash -) - - apt install nodejs + - apt-get install nodejs - curl -sL https://git.io/goreleaser > goreleaser - chmod +x goreleaser - ./scripts/version.sh ./goreleaser --snapshot --skip-publish --rm-dist