From b6b00153a90e186930e284927b7df580481215a7 Mon Sep 17 00:00:00 2001 From: adrienjt Date: Sun, 23 Jul 2023 22:53:21 -0700 Subject: [PATCH] docker already installed in GH Actions Signed-off-by: adrienjt --- .github/workflows/go.yml | 6 ------ build/install_docker.sh | 38 -------------------------------------- 2 files changed, 44 deletions(-) delete mode 100755 build/install_docker.sh diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 767cfaa4..91ae4957 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -32,9 +32,6 @@ jobs: - name: Verify code gen, go vet, go test run: ./test/test.sh - - name: Install Docker - run: ./build/install_docker.sh - - name: go build, docker build run: VERSION=$GITHUB_SHA OUTPUT_TAR_GZ=true ./build/build.sh @@ -67,9 +64,6 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@v2 - - name: Install Docker - run: ./build/install_docker.sh - - name: Download image artifacts uses: actions/download-artifact@v2 with: diff --git a/build/install_docker.sh b/build/install_docker.sh deleted file mode 100755 index a3890b4b..00000000 --- a/build/install_docker.sh +++ /dev/null @@ -1,38 +0,0 @@ -# -# Copyright 2020 The Multicluster-Scheduler Authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -set -euo pipefail - -# from https://docs.docker.com/engine/install/ubuntu/ - -sudo apt-get update - -sudo apt-get install \ - apt-transport-https \ - ca-certificates \ - curl \ - gnupg-agent \ - software-properties-common - -curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - - -sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" - -sudo apt-get update - -sudo apt-get install docker-ce docker-ce-cli containerd.io - -sudo apt-get install upx-ucl