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