fix latest tagging

This commit is contained in:
ThePhaseless 2025-02-28 19:28:05 +01:00
parent efee40632f
commit 17c1a05d74

View File

@ -158,7 +158,7 @@ jobs:
TAGS="${{ steps.meta.outputs.tags }}"
args=""
image=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{github.sha}}
image=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
image=${image,,}
# Create tag arguments
@ -167,14 +167,14 @@ jobs:
done
if [ "${{ github.ref_type }}" == "tag" ]; then
args="$args -t latest"
args="$args -t ${image}:latest"
fi
echo $args
docker buildx imagetools create $args \
${image}-amd64 \
${image}-arm64
${image}:${{github.sha}}-amd64 \
${image}:${{github.sha}}-arm64
# Sign the manifest
- name: Sign the manifests