fix(ci): use the conventionalcommits preset instead of angular

This commit is contained in:
Luke Tainton 2025-01-02 20:19:37 +00:00
parent 62643c1621
commit 89c1f64386
Signed by: luke
SSH Key Fingerprint: SHA256:D34npKT7UaiT/7gULqu7EPSLWWVAjTjXf4kKfJ/fQBo

View File

@ -77,6 +77,8 @@ jobs:
with:
git-url: ${{ steps.set_srvurl.outputs.srvurl }}
github-token: ${{ gitea.token }}
preset: "conventionalcommits"
# preset: "angular" # This is the default
skip-commit: true
release-count: 1
output-file: false
@ -157,24 +159,7 @@ jobs:
annotations: ${{ steps.meta.outputs.annotations }}
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ steps.meta.outputs.tags }}
# - name: Build images
# run: |
# bldcmd="docker buildx build --load"
# strtags="${{ steps.meta.outputs.tags }}"
# strlabels="${{ steps.meta.outputs.labels }}"
# strannotations="${{ steps.meta.outputs.annotations }}"
# readarray -t tags <<<"$strtags"
# readarray -t labels <<<"$strlabels"
# readarray -t annotations <<<"$strannotations"
# for element in "${tags[@]}"; do bldcmd="$bldcmd --tag \"$element\""; done
# for element in "${labels[@]}"; do bldcmd="$bldcmd --label \"$element\""; done
# for element in "${annotations[@]}"; do bldcmd="$bldcmd --annotation \"$element\""; done
# bldcmd="$bldcmd ${{ gitea.workspace }}"
# echo "$bldcmd"
# echo ""
# sh -c "$bldcmd"
- name: Push images
run: |
strtags="${{ steps.meta.outputs.tags }}"