Files
wedding-site/.gitea/workflows/ci.yml
MH.Dmitrii 6081fab869
Some checks failed
Build Docker / build (push) Failing after 26s
feature pipeline fix 0.0007
2026-02-28 11:48:04 +03:00

20 lines
532 B
YAML

name: Build Docker
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install Docker CLI
run: |
apt-get update && apt-get install -y docker.io
- uses: actions/checkout@v4
- name: Create .env file
run: |
echo "${{ secrets.ENV_FILE }}" > .env
- name: Build image
run: docker build -t back:latest -f docker/dockerfile .
- name: Start docker-compose
run: docker-compose -f docker/docker-compose.yaml up -d