mirror of
https://github.com/timothymiller/cloudflare-ddns.git
synced 2026-03-21 22:48:57 -03:00
🐳 CI Multi-Arch Docker Builds
🗄️ Organized scripts
This commit is contained in:
23
.github/workflows/image.yml
vendored
Normal file
23
.github/workflows/image.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: build our image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout code
|
||||
uses: actions/checkout@v2
|
||||
# https://github.com/docker/setup-qemu-action
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
# https://github.com/docker/setup-buildx-action
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
- name: build the image
|
||||
run: |
|
||||
docker buildx build \
|
||||
--tag timothyjmiller/cloudflare-ddns:latest \
|
||||
--platform linux/ppc64le,linux/s390x,linux/386,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/amd64 .
|
||||
Reference in New Issue
Block a user