Добавить .forgejo/workflows/build.yml
Some checks failed
Test Multi-Language Environment / test-docker-isolation (push) Has been cancelled
Some checks failed
Test Multi-Language Environment / test-docker-isolation (push) Has been cancelled
This commit is contained in:
parent
f531f2b09b
commit
9648149c0f
1 changed files with 21 additions and 0 deletions
21
.forgejo/workflows/build.yml
Normal file
21
.forgejo/workflows/build.yml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
name: Test Multi-Language Environment
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
test-docker-isolation:
|
||||
runs-on: ubuntu-latest # Наш раннер перехватит эту метку
|
||||
|
||||
steps:
|
||||
- name: Check Out Code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Test Python Container
|
||||
uses: docker://python:3.11-slim
|
||||
with:
|
||||
args: python -c "print('Привет из изолированного Python в Docker!')"
|
||||
|
||||
- name: Test Node.js Container
|
||||
uses: docker://node:20-alpine
|
||||
with:
|
||||
args: node -e "console.log('Привет из изолированной Node.js в Docker!')"
|
||||
Loading…
Add table
Add a link
Reference in a new issue