Skip to content

Initial docker compose build github action #1

Initial docker compose build github action

Initial docker compose build github action #1

Workflow file for this run

name: Build Docker image
# Shamelessly cribbed from https://docs.docker.com/build/ci/github-actions/test-before-push/
# with minor modifications
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
TEST_TAG: user/app:test
LATEST_TAG: user/app:latest
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the stack
run: docker-compose up -d
- name: Test
run: docker run --network container:tom appropriate/curl -s --retry 10 --retry-connrefused http://localhost:8080/