mirror of
https://github.com/dangeroustech/ZeroTierBridge.git
synced 2025-12-06 00:56:58 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
74c33dff3e | ||
| aab5c079dc | |||
|
|
344e30a1f0 | ||
| d3f10891c8 | |||
|
|
7eb72f78f3 | ||
| 6e3c2690fc |
16
.github/workflows/docker-build.yml
vendored
16
.github/workflows/docker-build.yml
vendored
@@ -7,8 +7,14 @@ on:
|
||||
- "main"
|
||||
|
||||
jobs:
|
||||
DockerBuildAndRelease:
|
||||
Docker_Release:
|
||||
name: "Docker Build And Release"
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
arch: ["amd64", "arm64"]
|
||||
version: ["1.12.2"]
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
@@ -32,7 +38,11 @@ jobs:
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
build-args: |
|
||||
ARCH=${{ matrix.arch }}
|
||||
VERSION=${{ matrix.version }}
|
||||
push: true
|
||||
platforms: linux/${{ matrix.arch }}
|
||||
tags: registry.dangerous.tech/dangeroustech/zerotierbridge:latest
|
||||
|
||||
- name: Generate SBOM
|
||||
@@ -50,7 +60,7 @@ jobs:
|
||||
id: scan
|
||||
with:
|
||||
sbom: sbom.spdx.json
|
||||
severity-cutoff: high
|
||||
severity-cutoff: medium
|
||||
fail-build: false
|
||||
only-fixed: true
|
||||
by-cve: true
|
||||
@@ -66,7 +76,7 @@ jobs:
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
git-message: "chore 🤖: Release {version} [skip ci]"
|
||||
git-message: "chore 🤖: Release {version}"
|
||||
output-file: "CHANGELOG.md"
|
||||
tag-prefix: "v"
|
||||
fallback-version: "1.0.0"
|
||||
|
||||
22
CHANGELOG.md
22
CHANGELOG.md
@@ -1,3 +1,25 @@
|
||||
# [1.1.0](https://github.com/dangeroustech/ZeroTierBridge/compare/v1.0.13...v1.1.0) (2023-09-23)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* multi-platform builds ([aab5c07](https://github.com/dangeroustech/ZeroTierBridge/commit/aab5c079dcd559b7c3123aa72d02f7691827083e))
|
||||
|
||||
|
||||
|
||||
## [1.0.13](https://github.com/dangeroustech/ZeroTierBridge/compare/v1.0.12...v1.0.13) (2023-09-22)
|
||||
|
||||
|
||||
|
||||
## [1.0.12](https://github.com/dangeroustech/ZeroTierBridge/compare/v1.0.11...v1.0.12) (2023-09-22)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* correct double message ([6e3c269](https://github.com/dangeroustech/ZeroTierBridge/commit/6e3c2690fc612e42c1d2818cc8d4bdfb9d5e39ba))
|
||||
|
||||
|
||||
|
||||
## [1.0.11](https://github.com/dangeroustech/ZeroTierBridge/compare/v1.0.10...v1.0.11) (2023-09-22)
|
||||
|
||||
|
||||
|
||||
@@ -42,14 +42,10 @@ Disable bridging by passing `ZT_BRIDGE=false`. This can be done after the initia
|
||||
|
||||
If you would like the container to retain the same ZeroTier client ID on reboot, attach a volume as per the below.
|
||||
|
||||
`docker run --privileged -e ZT_NETWORKS=NETWORK_ID_HERE ZT_BRIDGE=true --volume zt1:/var/lib/zerotier-one/ zerotierbridge:latest`
|
||||
`docker run --privileged -e ZT_NETWORKS=NETWORK_ID_HERE ZT_BRIDGE=true --volume zt_config:/var/lib/zerotier-one/ zerotierbridge:latest`
|
||||
|
||||
#### Caveat: Architecture
|
||||
|
||||
If you need to run this on a device with different architecture (a raspberry pi, for instance), then just edit line 3 of the Dockerfile.
|
||||
|
||||
If you were using a Raspberry Pi 4, you would change this to `ARCH=arm64` and the container will pull the correct ZeroTier installer.
|
||||
|
||||
## TODO
|
||||
|
||||
- Add kubernetes deployment YAML
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"version": "1.0.11"
|
||||
"version": "1.1.0"
|
||||
}
|
||||
5100
sbom.spdx.json
5100
sbom.spdx.json
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user