From 95217f6f352cd43b1b075ba25967c9b2475b47d4 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Wed, 15 May 2024 20:42:55 +0200 Subject: [PATCH] fix: :construction_worker: fix CI --- .gitea/workflows/mods.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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