diff --git a/.gitea/workflows/mods.yml b/.gitea/workflows/mods.yml index 7494284..bd86dfd 100644 --- a/.gitea/workflows/mods.yml +++ b/.gitea/workflows/mods.yml @@ -15,7 +15,7 @@ jobs: - uses: docker/build-push-action@v5 with: 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 wireguard-ipv6: @@ -31,5 +31,5 @@ jobs: - uses: docker/build-push-action@v5 with: 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