Skip to content

Merge pull request #103 from DDS-Derek/renovate/alpine-3.x #14

Merge pull request #103 from DDS-Derek/renovate/alpine-3.x

Merge pull request #103 from DDS-Derek/renovate/alpine-3.x #14

Workflow file for this run

name: xiaoya cron
on:
workflow_dispatch:
push:
branches:
- master
paths:
- "cron/**"
- ".github/workflows/xiaoya_cron.yml"
jobs:
build:
runs-on: ubuntu-latest
name: Build Docker Image
steps:
-
name: Checkout
uses: actions/checkout@v4
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ secrets.DOCKER_USERNAME }}/xiaoya-cron
tags: |
type=raw,value=latest
-
name: Set Up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set Up Buildx
uses: docker/setup-buildx-action@v3
-
name: Login DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
-
name: Build Image
uses: docker/build-push-action@v5
with:
context: ./cron
file: cron/Dockerfile
platforms: |
linux/amd64
linux/arm64/v8
linux/arm/v7
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
-
name: Docker Hub Description
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: ${{ secrets.DOCKER_USERNAME }}/xiaoya-cron
short-description: 小雅Alist的相关周边
readme-filepath: ./README.md