Linloir 3b66deee73
Some checks failed
Build and Push Docker Image / build (push) Failing after 2m25s
feat: only runs on x86 machine
2024-10-06 17:03:58 +08:00

27 lines
518 B
YAML

name: Build and Push Docker Image
on:
push:
branches:
- main
jobs:
build:
runs-on: x86-ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker images
run: ./build_all.sh