Skip to content

Fixing docker-deploy.yml (#36) #2

Fixing docker-deploy.yml (#36)

Fixing docker-deploy.yml (#36) #2

Workflow file for this run

name: Docker Deployment
on:
push:
branches:
- main
jobs:
docker-deploy:

Check failure on line 9 in .github/workflows/docker-deploy.yml

View workflow run for this annotation

GitHub Actions / Docker Deployment

Invalid workflow file

The workflow is not valid. .github/workflows/docker-deploy.yml (Line: 9, Col: 3): The workflow must contain at least one job with no dependencies.
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Download artifact
uses: actions/download-artifact@v2
with:
name: my-binary-x86_64-unknown-linux-gnu
- name: Build Docker image
run: |
docker build -t pidgtm-user-updater:latest -f Dockerfile-UserUpdater .
echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
docker push pidgtm-user-updater:latest