mirror of
https://github.com/timothymiller/cloudflare-ddns.git
synced 2026-03-22 06:58:57 -03:00
Update README and tests to reflect new defaults Bump actions/checkout to v6, replace linux/arm/v7 with linux/ppc64le in the Docker build, and normalize tag quoting in the GitHub workflow
9 lines
351 B
Bash
Executable File
9 lines
351 B
Bash
Executable File
#!/bin/bash
|
|
BASH_DIR=$(dirname $(realpath "${BASH_SOURCE}"))
|
|
VERSION=$(grep '^version' ${BASH_DIR}/../Cargo.toml | head -1 | sed 's/.*"\(.*\)".*/\1/')
|
|
docker buildx build \
|
|
--platform linux/amd64,linux/arm64,linux/ppc64le \
|
|
--tag timothyjmiller/cloudflare-ddns:latest \
|
|
--tag timothyjmiller/cloudflare-ddns:${VERSION} \
|
|
--push ${BASH_DIR}/../
|