mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2025-03-15 01:40:21 +08:00
fix latest tagging
This commit is contained in:
parent
efee40632f
commit
17c1a05d74
8
.github/workflows/docker-publish.yml
vendored
8
.github/workflows/docker-publish.yml
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user