[CI] add Docker in Docker as a service for E2E tests
This commit is contained in:
@@ -2,6 +2,13 @@ when:
|
|||||||
- event: [push, manual, pull_request]
|
- event: [push, manual, pull_request]
|
||||||
branch: [main]
|
branch: [main]
|
||||||
|
|
||||||
|
services:
|
||||||
|
docker:
|
||||||
|
image: docker:28-dind
|
||||||
|
privileged: true
|
||||||
|
environment:
|
||||||
|
DOCKER_TLS_CERTDIR: ""
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
prepare-fe-image-tags:
|
prepare-fe-image-tags:
|
||||||
image: alpine:3.21
|
image: alpine:3.21
|
||||||
@@ -61,6 +68,8 @@ steps:
|
|||||||
- build-and-push-fe-image
|
- build-and-push-fe-image
|
||||||
- build-and-push-e2e-image
|
- build-and-push-e2e-image
|
||||||
environment:
|
environment:
|
||||||
|
DOCKER_HOST: tcp://localhost:2375
|
||||||
|
DOCKER_TLS_CERTDIR: ""
|
||||||
GITEA_PACKAGES_USERNAME:
|
GITEA_PACKAGES_USERNAME:
|
||||||
from_secret: gitea_packages_username
|
from_secret: gitea_packages_username
|
||||||
GITEA_PACKAGES_TOKEN:
|
GITEA_PACKAGES_TOKEN:
|
||||||
|
|||||||
Reference in New Issue
Block a user