Skip to content

Update main.yml

Update main.yml #7

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / Tester

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 19, Col: 19): Unexpected symbol: 'Aceofspades45?'. Located at position 9 within expression: secrets.Aceofspades45?
- 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