fix(ci): publish container images to GHCR only

This commit is contained in:
2026-03-07 21:02:38 +00:00
parent 4df5036534
commit 7cf1b783ae
9 changed files with 12 additions and 73 deletions

View File

@@ -1,4 +1,4 @@
name: Upload the tagged release CDN image to GHCR and Docker Hub
name: Upload the tagged release CDN image to GHCR
permissions:
contents: read
@@ -25,12 +25,6 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
@@ -44,4 +38,4 @@ jobs:
OWNER: "${{ github.repository_owner }}"
- name: Build Docker images
run: docker buildx build --platform linux/amd64,linux/arm64 --push -t ghcr.io/$REPO_OWNER/$IMAGE_NAME:${{ github.event.release.tag_name }} -t ${{ secrets.DOCKERHUB_USERNAME }}/$IMAGE_NAME:${{ github.event.release.tag_name }} ./cdn
run: docker buildx build --platform linux/amd64,linux/arm64 --push -t ghcr.io/$REPO_OWNER/$IMAGE_NAME:${{ github.event.release.tag_name }} ./cdn