fix(ci): publish container images to GHCR only
This commit is contained in:
10
.github/workflows/cdn-release.yml
vendored
10
.github/workflows/cdn-release.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user