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

This commit is contained in:
2026-02-23 19:47:32 +01:00
parent 29fb1b1c58
commit f18345812b

View File

@@ -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://}"