mirror of
https://github.com/dangeroustech/ZeroTierBridge.git
synced 2025-12-06 00:56:58 +00:00
ci: only do final build on main branch
oitherwise there's no tag to pull from
This commit is contained in:
2
.github/workflows/docker-build.yml
vendored
2
.github/workflows/docker-build.yml
vendored
@@ -61,7 +61,6 @@ jobs:
|
|||||||
VERSION=${{ matrix.version }}
|
VERSION=${{ matrix.version }}
|
||||||
push: true
|
push: true
|
||||||
platforms: linux/${{ matrix.arch }}
|
platforms: linux/${{ matrix.arch }}
|
||||||
# tags: registry.dangerous.tech/dangeroustech/zerotierbridge:latest
|
|
||||||
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true
|
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true
|
||||||
|
|
||||||
- name: Export Digests
|
- name: Export Digests
|
||||||
@@ -80,6 +79,7 @@ jobs:
|
|||||||
|
|
||||||
MergeRefs:
|
MergeRefs:
|
||||||
name: Do The Horrible Merge Thing
|
name: Do The Horrible Merge Thing
|
||||||
|
if: github.ref == 'refs/heads/main'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs:
|
needs:
|
||||||
- Docker_Build
|
- Docker_Build
|
||||||
|
|||||||
Reference in New Issue
Block a user