diff --git a/.github/workflows/docker-ci.yml b/.github/workflows/docker-ci.yml new file mode 100644 index 00000000..6912f293 --- /dev/null +++ b/.github/workflows/docker-ci.yml @@ -0,0 +1,29 @@ +name: CI + +# Enable Buildkit and let compose use it to speed up image building +env: + DOCKER_BUILDKIT: 1 + COMPOSE_DOCKER_CLI_BUILD: 1 + +on: + pull_request: + branches: [ "main", "fix/574-docker-build"] + + push: + branches: [ "main", "fix/574-docker-build"] + +concurrency: + group: ${{ github.head_ref || github.run_id }} + cancel-in-progress: true + +jobs: + build: + runs-on: ubuntu-latest + + steps: + + - name: Checkout Code Repository + uses: actions/checkout@main + + - name: Build the Stack + run: docker build -t airsenal .