2023-02-13 23:29:59 +08:00
|
|
|
name: Docker image build
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2023-09-05 08:44:16 +00:00
|
|
|
uses: actions/checkout@v4
|
2023-02-13 23:29:59 +08:00
|
|
|
|
|
|
|
- name: Setup QEMU
|
|
|
|
uses: docker/setup-qemu-action@v2
|
|
|
|
with:
|
|
|
|
platforms: linux/amd64
|
|
|
|
|
|
|
|
- name: Setup Docker Buildx
|
|
|
|
uses: docker/setup-buildx-action@v2
|
|
|
|
|
|
|
|
- name: Build Docker Image
|
2023-02-14 08:59:12 +00:00
|
|
|
uses: docker/build-push-action@v4
|
2023-02-13 23:29:59 +08:00
|
|
|
with:
|
|
|
|
context: .
|
|
|
|
file: docker/Dockerfile
|
|
|
|
tags: phantun
|
|
|
|
platforms: linux/amd64
|