Skip to content

add more tests; fix bugs #10

add more tests; fix bugs

add more tests; fix bugs #10

Workflow file for this run

name: Deploy to Docker Hub
on:
workflow_dispatch:
push:
tags:
- '*'
jobs:
docker:

Check failure on line 9 in .github/workflows/deploy.yaml

View workflow run for this annotation

GitHub Actions / Deploy to Docker Hub

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yaml (Line: 9, Col: 3): The workflow must contain at least one job with no dependencies.
needs: test
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPO }}:latest