fix: use docker:24-cli container image with DOCKER_HOST pre-configured
CI/CD / build-and-push (push) Failing after 11s
CI/CD / build-and-push (push) Failing after 11s
This commit is contained in:
@@ -15,17 +15,17 @@ env:
|
||||
jobs:
|
||||
build-and-push:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: docker:24-cli
|
||||
env:
|
||||
DOCKER_HOST: tcp://localhost:2375
|
||||
DOCKER_TLS_VERIFY: "0"
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ssl-verify: false
|
||||
|
||||
- name: Install Docker CLI
|
||||
run: |
|
||||
apt-get update -qq && apt-get install -y -qq docker.io
|
||||
docker version --format '{{.Client.Version}}'
|
||||
|
||||
- name: Set image tag
|
||||
id: tag
|
||||
run: echo "TAG=${GITHUB_SHA::8}" >> $GITHUB_OUTPUT
|
||||
|
||||
Reference in New Issue
Block a user