Skip to content

Commit

Permalink
ci: проверка сборки контейнеров
Browse files Browse the repository at this point in the history
  • Loading branch information
DanArmor authored Apr 12, 2024
1 parent c38aeae commit bdbd2b6
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: ci

on:
push:
branches:
- "main"
pull_request:
branches:
- "main"

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build app
uses: docker/build-push-action@v5
with:
context: app
load: true
- name: Build nginx
uses: docker/build-push-action@v5
with:
context: nginx
load: true
- name: Build cron
uses: docker/build-push-action@v5
with:
context: cron
load: true
- name: Build db
uses: docker/build-push-action@v5
with:
context: db
load: true

0 comments on commit bdbd2b6

Please sign in to comment.