[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]
|
||||
branch: [main]
|
||||
|
||||
services:
|
||||
docker:
|
||||
image: docker:28-dind
|
||||
privileged: true
|
||||
environment:
|
||||
DOCKER_TLS_CERTDIR: ""
|
||||
|
||||
steps:
|
||||
prepare-fe-image-tags:
|
||||
image: alpine:3.21
|
||||
@@ -61,6 +68,8 @@ steps:
|
||||
- build-and-push-fe-image
|
||||
- build-and-push-e2e-image
|
||||
environment:
|
||||
DOCKER_HOST: tcp://localhost:2375
|
||||
DOCKER_TLS_CERTDIR: ""
|
||||
GITEA_PACKAGES_USERNAME:
|
||||
from_secret: gitea_packages_username
|
||||
GITEA_PACKAGES_TOKEN:
|
||||
|
||||
Reference in New Issue
Block a user