mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-10-29 23:35:02 -04:00
try again lower
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
This commit is contained in:
parent
14224f2f10
commit
d5c537df58
22
.github/workflows/myothertest.yml
vendored
22
.github/workflows/myothertest.yml
vendored
@ -82,7 +82,7 @@ jobs:
|
|||||||
--build-arg DISABLE_TRANSLATE=yes \
|
--build-arg DISABLE_TRANSLATE=yes \
|
||||||
--build-arg DISABLE_EXTRACT=yes \
|
--build-arg DISABLE_EXTRACT=yes \
|
||||||
--build-arg PREINSTALL_LIBS=true \
|
--build-arg PREINSTALL_LIBS=true \
|
||||||
-t ghcr.io/${{ github.repository_owner && github.repository_owner.toLowerCase() }}/meshcentral:${{ github.ref_name }}-amd64 \
|
-t ghcr.io/${{ toLower(github.repository_owner) }}/meshcentral:${{ github.ref_name }}-amd64 \
|
||||||
--push \
|
--push \
|
||||||
./docker
|
./docker
|
||||||
|
|
||||||
@ -126,7 +126,7 @@ jobs:
|
|||||||
--build-arg DISABLE_TRANSLATE=yes \
|
--build-arg DISABLE_TRANSLATE=yes \
|
||||||
--build-arg DISABLE_EXTRACT=yes \
|
--build-arg DISABLE_EXTRACT=yes \
|
||||||
--build-arg PREINSTALL_LIBS=true \
|
--build-arg PREINSTALL_LIBS=true \
|
||||||
-t ghcr.io/${{ github.repository_owner && github.repository_owner.toLowerCase() }}/meshcentral:${{ github.ref_name }}-arm64 \
|
-t ghcr.io/${{ toLower(github.repository_owner) }}/meshcentral:${{ github.ref_name }}-arm64 \
|
||||||
--push \
|
--push \
|
||||||
./docker
|
./docker
|
||||||
|
|
||||||
@ -170,7 +170,7 @@ jobs:
|
|||||||
--build-arg DISABLE_TRANSLATE=yes \
|
--build-arg DISABLE_TRANSLATE=yes \
|
||||||
--build-arg DISABLE_EXTRACT=yes \
|
--build-arg DISABLE_EXTRACT=yes \
|
||||||
--build-arg PREINSTALL_LIBS=true \
|
--build-arg PREINSTALL_LIBS=true \
|
||||||
-t ghcr.io/${{ github.repository_owner && github.repository_owner.toLowerCase() }}/meshcentral:${{ github.ref_name }}-armv7 \
|
-t ghcr.io/${{ toLower(github.repository_owner) }}/meshcentral:${{ github.ref_name }}-armv7 \
|
||||||
--push \
|
--push \
|
||||||
./docker
|
./docker
|
||||||
|
|
||||||
@ -214,7 +214,7 @@ jobs:
|
|||||||
--build-arg DISABLE_TRANSLATE=yes \
|
--build-arg DISABLE_TRANSLATE=yes \
|
||||||
--build-arg DISABLE_EXTRACT=yes \
|
--build-arg DISABLE_EXTRACT=yes \
|
||||||
--build-arg PREINSTALL_LIBS=true \
|
--build-arg PREINSTALL_LIBS=true \
|
||||||
-t ghcr.io/${{ github.repository_owner && github.repository_owner.toLowerCase() }}/meshcentral:${{ github.ref_name }}-armv6 \
|
-t ghcr.io/${{ toLower(github.repository_owner) }}/meshcentral:${{ github.ref_name }}-armv6 \
|
||||||
--push \
|
--push \
|
||||||
./docker
|
./docker
|
||||||
|
|
||||||
@ -237,21 +237,21 @@ jobs:
|
|||||||
- name: Create and push multi-arch manifest
|
- name: Create and push multi-arch manifest
|
||||||
run: |
|
run: |
|
||||||
docker buildx imagetools create \
|
docker buildx imagetools create \
|
||||||
-t ghcr.io/${{ github.repository_owner && github.repository_owner.toLowerCase() }}/meshcentral:${{ github.ref_name }} \
|
-t ghcr.io/${{ toLower(github.repository_owner) }}/meshcentral:${{ github.ref_name }} \
|
||||||
ghcr.io/${{ github.repository_owner && github.repository_owner.toLowerCase() }}/meshcentral:${{ github.ref_name }}-amd64 \
|
ghcr.io/${{ toLower(github.repository_owner) }}/meshcentral:${{ github.ref_name }}-amd64 \
|
||||||
ghcr.io/${{ github.repository_owner && github.repository_owner.toLowerCase() }}/meshcentral:${{ github.ref_name }}-arm64 \
|
ghcr.io/${{ toLower(github.repository_owner) }}/meshcentral:${{ github.ref_name }}-arm64 \
|
||||||
ghcr.io/${{ github.repository_owner && github.repository_owner.toLowerCase() }}/meshcentral:${{ github.ref_name }}-armv7 \
|
ghcr.io/${{ toLower(github.repository_owner) }}/meshcentral:${{ github.ref_name }}-armv7 \
|
||||||
ghcr.io/${{ github.repository_owner && github.repository_owner.toLowerCase() }}/meshcentral:${{ github.ref_name }}-armv6
|
ghcr.io/${{ toLower(github.repository_owner) }}/meshcentral:${{ github.ref_name }}-armv6
|
||||||
|
|
||||||
- name: Delete architecture-specific tags
|
- name: Delete architecture-specific tags
|
||||||
run: |
|
run: |
|
||||||
ghcr_repo=ghcr.io/${{ github.repository_owner && github.repository_owner.toLowerCase() }}/meshcentral
|
ghcr_repo=ghcr.io/${{ toLower(github.repository_owner) }}/meshcentral
|
||||||
for arch in amd64 arm64 armv7 armv6; do
|
for arch in amd64 arm64 armv7 armv6; do
|
||||||
echo "Deleting $ghcr_repo:${{ github.ref_name }}-$arch ..."
|
echo "Deleting $ghcr_repo:${{ github.ref_name }}-$arch ..."
|
||||||
digest=$(docker buildx imagetools inspect $ghcr_repo:${{ github.ref_name }}-$arch --format '{{.Manifest.Digest}}')
|
digest=$(docker buildx imagetools inspect $ghcr_repo:${{ github.ref_name }}-$arch --format '{{.Manifest.Digest}}')
|
||||||
if [ -n "$digest" ]; then
|
if [ -n "$digest" ]; then
|
||||||
curl -s -X DELETE -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
|
curl -s -X DELETE -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
|
||||||
"https://ghcr.io/v2/${{ github.repository_owner && github.repository_owner.toLowerCase() }}/meshcentral/manifests/$digest"
|
"https://ghcr.io/v2/${{ toLower(github.repository_owner) }}/meshcentral/manifests/$digest"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
env:
|
env:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user