mirror of
https://github.com/cupcakearmy/docker-ddns-cloudflare.git
synced 2025-09-05 21:00:40 +00:00
reuse docker workflow
This commit is contained in:
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
@@ -3,6 +3,8 @@ name: Build Docker image
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
concurrency:
|
||||
group: build
|
||||
@@ -10,17 +12,10 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
install: true
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: false
|
||||
name: Build Docker Image
|
||||
uses: cupcakearmy/workflows/.github/workflows/docker.yml@main
|
||||
with:
|
||||
name: cupcakearmy/ddns-cloudflare
|
||||
secrets:
|
||||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
|
||||
|
Reference in New Issue
Block a user