Skip to content

Merge pull request #15 from KMTsvetanov/013-symfony-TDD #20

Merge pull request #15 from KMTsvetanov/013-symfony-TDD

Merge pull request #15 from KMTsvetanov/013-symfony-TDD #20

Workflow file for this run

name: TranslateThis
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Composer Dependencies
working-directory: ./app
run: composer install --prefer-dist
- name: Run Tests
working-directory: ./app
run: composer run-phpunit tests
- run: docker build --target app -t kmtsvetanov/symfony-php-composer:1.0 -f ./docker/php/Dockerfile .
- run: docker build -t kmtsvetanov/symfony-nginx-php:1.0 -f ./docker/nginx/Dockerfile .
- run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
- run: docker push kmtsvetanov/symfony-php-composer:1.0
- run: docker push kmtsvetanov/symfony-nginx-php:1.0