Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrettgaither authored Apr 16, 2024
1 parent 5f427eb commit 2ad70ba
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2ad70ba

Please sign in to comment.