Compare commits

..

3 Commits

Author SHA1 Message Date
71613988a1 Feat: change network mode
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-12-27 20:37:41 +03:00
d61740d4d4 Feat: env file
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2024-12-27 20:34:48 +03:00
e04481d552 Feat: first try to start
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2024-12-27 20:33:17 +03:00

View File

@@ -1,13 +1,25 @@
when: when:
- event: push - event: push
branch: test branch: deploy
steps: steps:
- name: build - name: build
image: docker:latest image: docker:latest
commands: commands:
- docker build -t test . - echo "$ENV_FILE" > .env
- docker build -t aboba .
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
ENV_FILE:
from_secret: ENV_FILE
- name: deploy - name: deploy
image: docker:latest image: docker:latest
commands: commands:
- sh run.sh - echo "$ENV_FILE" > .env
- sh run.sh
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
ENV_FILE:
from_secret: ENV_FILE