Skip to content

Merge branch 'main' of https://github.com/14790897/auto-read-liunxdo #116

Merge branch 'main' of https://github.com/14790897/auto-read-liunxdo

Merge branch 'main' of https://github.com/14790897/auto-read-liunxdo #116

Workflow file for this run

name: AutoRead Docker Image Push
on:
push:
branches:
- main
# 这里其实可以使用Windows环境,这样就不需要考虑Linux
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and Push Image
uses: docker/build-push-action@v2
with:
context: ./
file: ./Dockerfile
push: true
tags: 14790897/auto-read:latest