fix(ci): publish container images to GHCR only
This commit is contained in:
10
.github/workflows/cdn-beta.yml
vendored
10
.github/workflows/cdn-beta.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Upload beta CDN image to GHCR and Docker Hub
|
||||
name: Upload beta CDN image to GHCR
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -28,12 +28,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
|
||||
|
||||
@@ -47,4 +41,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:beta -t ${{ secrets.DOCKERHUB_USERNAME }}/$IMAGE_NAME:beta ./cdn
|
||||
run: docker buildx build --platform linux/amd64,linux/arm64 --push -t ghcr.io/$REPO_OWNER/$IMAGE_NAME:beta ./cdn
|
||||
|
||||
Reference in New Issue
Block a user