diff --git a/.gitea/workflows/mods.yml b/.gitea/workflows/mods.yml index e12e946..7494284 100644 --- a/.gitea/workflows/mods.yml +++ b/.gitea/workflows/mods.yml @@ -14,7 +14,8 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - uses: docker/build-push-action@v5 with: - push: ${{ gitea.ref_type == 'tag' }} + context: skip-chown + push: ${{ gitea.ref_name == 'master' || gitea.ref_type == 'tag' }} tags: xefir/mods:skip-chown wireguard-ipv6: @@ -29,5 +30,6 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - uses: docker/build-push-action@v5 with: - push: ${{ gitea.ref_type == 'tag' }} + context: wireguard-ipv6 + push: ${{ gitea.ref_name == 'master' || gitea.ref_type == 'tag' }} tags: xefir/mods:wireguard-ipv6