Skip to content

Fix docker build due to incorrect dependencies. #15

Fix docker build due to incorrect dependencies.

Fix docker build due to incorrect dependencies. #15

Workflow file for this run

name: Pytvzhen-web Docker Image CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
runs-on: self-hosted

Check failure on line 10 in .github/workflows/docker.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/docker.yaml

Invalid workflow file

You have an error in your yaml syntax on line 10
build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: hanfa/pytvzhen-web:${{ github.event_name == 'push' && 'latest' || github.event.pull_request.number }}