forked from alt/image-forge
add tags flag to single building
This commit is contained in:
parent
0e21a9248a
commit
19cc3e9200
@ -72,8 +72,9 @@ jobs:
|
|||||||
- name: Run building script
|
- name: Run building script
|
||||||
id: build-script
|
id: build-script
|
||||||
run: |
|
run: |
|
||||||
|
if [[ "$IM" == *"k8s"* ]]; then k8sarg="--tags=tags.toml"; else k8sarg=""; fi
|
||||||
echo "build.py -i $IM -b $BR"
|
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:
|
env:
|
||||||
IM: ${{ env.IMAGE }}
|
IM: ${{ env.IMAGE }}
|
||||||
BR: ${{ env.BRANCH }}
|
BR: ${{ env.BRANCH }}
|
||||||
|
Loading…
Reference in New Issue
Block a user