Skip to content

Update docker-image.yml #3

Update docker-image.yml

Update docker-image.yml #3

Workflow file for this run

name: Docker Image CI
on:
push:
branches: ["master"]
paths-ignore:
- "README.md"
pull_request:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.ALIST_GITHUB_TOKEN }}
- name: Build the Docker image
run:
|
docker build . --file Dockerfile --tag ghcr.io/z-mio/alist-bot:latest
docker push ghcr.io/z-mio/alist-bot:latest