Remove Docker CLI installation step from GitHub Actions workflow
Build image / build (push) Successful in 10s
Build image / build (push) Successful in 10s
This commit is contained in:
1 parent
3a77bae21e
commit
51bdfafaed
1 file changed
-17
@@ -36,23 +36,6 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
NODE_EXTRA_CA_CERTS: /etc/ssl/certs/ca-certificates.crt
|
NODE_EXTRA_CA_CERTS: /etc/ssl/certs/ca-certificates.crt
|
||||||
|
|
||||||
# The Ubuntu runner image may not include the Docker CLI. Install the
|
|
||||||
# CLI and buildx from Docker's apt repo; the daemon is the runner's.
|
|
||||||
- name: Install Docker CLI
|
|
||||||
run: |
|
|
||||||
install -m 0755 -d /etc/apt/keyrings
|
|
||||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
|
|
||||||
chmod a+r /etc/apt/keyrings/docker.asc
|
|
||||||
cat > /etc/apt/sources.list.d/docker.sources <<SRC
|
|
||||||
Types: deb
|
|
||||||
URIs: https://download.docker.com/linux/ubuntu
|
|
||||||
Suites: $(. /etc/os-release && echo "$VERSION_CODENAME")
|
|
||||||
Components: stable
|
|
||||||
Signed-By: /etc/apt/keyrings/docker.asc
|
|
||||||
SRC
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y --no-install-recommends docker-ce-cli docker-buildx-plugin
|
|
||||||
|
|
||||||
- name: Log in to registry
|
- name: Log in to registry
|
||||||
run: |
|
run: |
|
||||||
REGISTRY="${SERVER_URL#https://}"
|
REGISTRY="${SERVER_URL#https://}"
|
||||||
|
|||||||
Reference in new issue
Block a user