Add checkout step
MODIFY
.github/workflows/verify.yml
.github/workflows/verify.yml
@@ -59,11 +59,13 @@ jobs:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' && github.repository_owner == 'Apiman'
steps:
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
+ - uses: actions/checkout@v2
# Build and push new Docker images
- name: Login to DockerHub Registry
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
- name: Building Docker Images
- run: docker build -t="apiman/developer-portal:latest" .
+ run: docker build -t="apiman/developer-portal:latest" --rm .
- name: Push The Tagged Docker Images
run: docker push apiman/developer-portal:latest

Add checkout step