Update main.yml #7
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: Tester | ||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Login to Docker Hub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{secrets.jarrettgaither}} | ||
password: ${{secrets.Aceofspades45?}} | ||
Check failure on line 19 in .github/workflows/main.yml GitHub Actions / TesterInvalid workflow file
|
||
- name: Build Image | ||
run: docker build -t jarrettgaither/liatriowebapp . | ||
- name: Run Container | ||
run: docker run -p 80:80 --name container1 jarrettgaither/liatriowebapp | ||
- name: run tests | ||
uses: liatrio/github-actions/apprentice-action@master | ||
- name: Stop Container | ||
run: docker stop container1 |