Skip to content

update

update #36

Workflow file for this run

name: Docker images build and push
on:
push:
branches: [ "main" ]
paths:
- 'actions-time.txt'
# schedule:
# - cron: "0 0 12 * *" # 每天12点
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ilkeiii
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker build-push daemon
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfile.daemon
push: true # push to docker hub
tags: |
ilkeiii/mcsmanager-daemon:latest
platforms: linux/amd64,linux/arm64
- name: Docker build-push web
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfile.web
push: true # push to docker hub
tags: |
ilkeiii/mcsmanager-web:latest
platforms: linux/amd64,linux/arm64