test: ⚗️ test if default_branch hook exists on gitea
This commit is contained in:
parent
95217f6f35
commit
d35ed19360
@ -15,7 +15,7 @@ jobs:
|
|||||||
- uses: docker/build-push-action@v5
|
- uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: skip-chown
|
context: skip-chown
|
||||||
push: ${{ gitea.ref_name == 'master' || gitea.ref_type == 'tag' }}
|
push: ${{ gitea.ref_name == gitea.event.repository.default_branch || gitea.ref_type == 'tag' }}
|
||||||
tags: xefir/mods:skip-chown
|
tags: xefir/mods:skip-chown
|
||||||
|
|
||||||
wireguard-ipv6:
|
wireguard-ipv6:
|
||||||
@ -31,5 +31,5 @@ jobs:
|
|||||||
- uses: docker/build-push-action@v5
|
- uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: wireguard-ipv6
|
context: wireguard-ipv6
|
||||||
push: ${{ gitea.ref_name == 'master' || gitea.ref_type == 'tag' }}
|
push: ${{ gitea.ref_name == gitea.event.repository.default_branch || gitea.ref_type == 'tag' }}
|
||||||
tags: xefir/mods:wireguard-ipv6
|
tags: xefir/mods:wireguard-ipv6
|
||||||
|
Loading…
Reference in New Issue
Block a user