test: ⚗️ test if default_branch hook exists on gitea
All checks were successful
dl / skip-chown (push) Successful in 21s
dl / wireguard-ipv6 (push) Successful in 21s

This commit is contained in:
Michel Roux 2024-05-15 20:50:04 +02:00
parent 95217f6f35
commit d35ed19360

View File

@ -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