lucky-tgbot/.github/workflows/docker.yaml
sunyz 2470e07d9f
[+] update github actions file
Signed-off-by: sunyz <i@sunyz.net>
2025-01-24 23:13:34 +08:00

30 lines
683 B
YAML

name: Build and Push Docker Images
on:
[workflow_dispatch]
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: realsunyz/lucky-tgbot:latest