move docker-compose.override.yml from ignored files #16
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build-image | |
| on: | |
| push: | |
| env: | |
| CI: true | |
| APP_IMAGE_NAME: ilyaguev/docker-project-74:latest | |
| jobs: | |
| docker: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Clone repo | |
| uses: actions/checkout@v4 | |
| - name: Run tests | |
| run: make env-prepare && make compose-test-ci | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Login to DockerHub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKER_USERNAME }} | |
| password: ${{ secrets.DOCKER_PASSWORD }} | |
| - name: Build App | |
| uses: docker/build-push-action@v3 | |
| with: | |
| context: . | |
| file: Dockerfile.production | |
| cache-from: type=registry,ref=${{ env.APP_IMAGE_NAME }} | |
| cache-to: type=inline | |
| push: true | |
| tags: ${{ env.APP_IMAGE_NAME }} |