From 2ad70baf93a4f7c5cc3077933bca47ee287d7286 Mon Sep 17 00:00:00 2001 From: jarrettgaither <167137591+jarrettgaither@users.noreply.github.com> Date: Tue, 16 Apr 2024 14:56:46 -0700 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index be65bb2..24b35d1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,13 +14,13 @@ jobs: - name: Build Image run: docker build -t jarrettgaither/liatriowebapp . - container-tester: - runs-on: ubuntu-latest - container: - image: jarrettgaither/liatriowebapp - steps: - - name: run tests - uses: liatrio/github-actions/apprentice-action@master - - name: Stop Container - run: docker stop container1 + - name: Run Container + run: docker run -p 80:80 --name container1 jarrettgaither/liatriowebapp + kill + + - name: run tests + uses: liatrio/github-actions/apprentice-action@master + + - name: Stop Container + run: docker stop container1