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:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
runs-on: dind
|
runs-on: dind
|
||||||
container:
|
|
||||||
image: docker:cli
|
|
||||||
services:
|
services:
|
||||||
dind:
|
dind:
|
||||||
image: docker:dind
|
image: docker:dind
|
||||||
@@ -19,12 +17,14 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
DOCKER_TLS_CERTDIR: ""
|
DOCKER_TLS_CERTDIR: ""
|
||||||
env:
|
env:
|
||||||
DOCKER_HOST: tcp://dind:2375
|
DOCKER_HOST: tcp://localhost:2375
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install dependencies
|
||||||
|
run: apk add --no-cache git docker-cli
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
run: |
|
||||||
apk add --no-cache git
|
|
||||||
GITEA_HOST="${{ gitea.server_url }}"
|
GITEA_HOST="${{ gitea.server_url }}"
|
||||||
GITEA_HOST="${GITEA_HOST#https://}"
|
GITEA_HOST="${GITEA_HOST#https://}"
|
||||||
GITEA_HOST="${GITEA_HOST#http://}"
|
GITEA_HOST="${GITEA_HOST#http://}"
|
||||||
|
|||||||
Reference in New Issue
Block a user