Use ENV APP_DOMAIN instead of specific host #259
This file contains 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: Docker build test | |
on: | |
push: | |
branches-ignore: | |
- main | |
- develop | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
docker_production_test: | |
name: Test production docker image | |
runs-on: ubuntu-latest | |
env: | |
DOCKER_REGISTRY: ${{ secrets.DOCKER_REGISTRY }} | |
DOCKER_IMAGE: ${{ github.repository }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set BRANCH_TAG | |
uses: nimblehq/branch-tag-action@v1 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Try building Docker image | |
run: | | |
bin/docker-prepare | |
docker-compose build |