ci: drop job container, use localhost to reach dind service
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 2s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 2s
This commit is contained in:
@@ -10,8 +10,6 @@ on:
|
||||
jobs:
|
||||
build-and-push:
|
||||
runs-on: dind
|
||||
container:
|
||||
image: docker:cli
|
||||
services:
|
||||
dind:
|
||||
image: docker:dind
|
||||
@@ -19,12 +17,14 @@ jobs:
|
||||
env:
|
||||
DOCKER_TLS_CERTDIR: ""
|
||||
env:
|
||||
DOCKER_HOST: tcp://dind:2375
|
||||
DOCKER_HOST: tcp://localhost:2375
|
||||
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
run: apk add --no-cache git docker-cli
|
||||
|
||||
- name: Checkout
|
||||
run: |
|
||||
apk add --no-cache git
|
||||
GITEA_HOST="${{ gitea.server_url }}"
|
||||
GITEA_HOST="${GITEA_HOST#https://}"
|
||||
GITEA_HOST="${GITEA_HOST#http://}"
|
||||
|
||||
Reference in New Issue
Block a user