diff --git a/.gitea/workflows/wf_single.yaml b/.gitea/workflows/wf_single.yaml index 40370c1..44aee17 100644 --- a/.gitea/workflows/wf_single.yaml +++ b/.gitea/workflows/wf_single.yaml @@ -72,8 +72,9 @@ jobs: - name: Run building script id: build-script run: | + if [[ "$IM" == *"k8s"* ]]; then k8sarg="--tags=tags.toml"; else k8sarg=""; fi echo "build.py -i $IM -b $BR" - ${{ gitea.workspace }}/build.py -i $IM -b $BR + ${{ gitea.workspace }}/build.py -i $IM -b $BR $k8sarg env: IM: ${{ env.IMAGE }} BR: ${{ env.BRANCH }}