mirror of
https://github.com/xuthus83/LittlePaimon.git
synced 2024-10-21 16:27:15 +08:00
3ee4cbf5e4
All checks were successful
littlePaimon / littlePaimon-Gitea-Actions (push) Successful in 44m33s
29 lines
679 B
YAML
29 lines
679 B
YAML
name: littlePaimon
|
|
# on: [push]
|
|
on:
|
|
push:
|
|
branches:
|
|
- Bot
|
|
|
|
# 工作流程,可包含多个作业
|
|
jobs:
|
|
littlePaimon-Gitea-Actions:
|
|
# 指定的运行器环境
|
|
runs-on: node-lts
|
|
|
|
# 作业包含一系列任务,称为 steps
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Docker Buildx
|
|
id: buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
#build镜像并push到中央仓库中
|
|
- name: Build and push
|
|
id: docker_build
|
|
uses: docker/build-push-action@v5
|
|
with:
|
|
context: ./
|
|
file: ./dockerfile
|
|
push: true
|
|
tags: k2.xuthus83.cn:6001/littlepaimon:latest
|