feat: mv maildev to services

This commit is contained in:
realaravinth
2022-07-23 02:09:28 +05:30
parent b6afe79a81
commit 9a687f99ee

View File

@@ -41,6 +41,15 @@ jobs:
image: mcaptcha/cache image: mcaptcha/cache
ports: ports:
- 6379:6379 - 6379:6379
mcaptcha-smtp:
image: maildev/maildev
env:
MAILDEV_WEB_PORT: "1080"
MAILDEV_INCOMING_USER: "admin"
MAILDEV_INCOMING_PASS: "password"
ports:
- 1080:1080
- 10025:1025
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@@ -64,9 +73,6 @@ jobs:
with: with:
node-version: "16.x" node-version: "16.x"
- name: start smtp server
run: docker run -d -p 1080:1080 -p 10025:1025 maildev/maildev --incoming-user admin --incoming-pass password
- name: Install ${{ matrix.version }} - name: Install ${{ matrix.version }}
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with: