diff --git a/.github/workflows/backend-beta.yml b/.github/workflows/backend-beta.yml index 5e4ae315..d17d6cea 100644 --- a/.github/workflows/backend-beta.yml +++ b/.github/workflows/backend-beta.yml @@ -1,4 +1,4 @@ -name: Upload beta backend image to GHCR and Docker Hub +name: Upload beta backend 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@v2 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -48,7 +42,6 @@ jobs: push: true tags: | ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:beta - ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:beta cache-from: | type=registry,ref=ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:buildcache type=local,src=/tmp/.buildx-cache diff --git a/.github/workflows/backend-latest.yml b/.github/workflows/backend-latest.yml index 50764fb8..df1bd907 100644 --- a/.github/workflows/backend-latest.yml +++ b/.github/workflows/backend-latest.yml @@ -1,4 +1,4 @@ -name: Upload latest backend image to GHCR and Docker Hub +name: Upload latest backend image to GHCR permissions: contents: read @@ -30,12 +30,6 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -50,7 +44,6 @@ jobs: push: true tags: | ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:latest - ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:latest cache-from: | type=registry,ref=ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:buildcache type=local,src=/tmp/.buildx-cache diff --git a/.github/workflows/backend-release.yml b/.github/workflows/backend-release.yml index 642592ad..e5791bb9 100644 --- a/.github/workflows/backend-release.yml +++ b/.github/workflows/backend-release.yml @@ -1,4 +1,4 @@ -name: Upload the tagged release backend image to GHCR and Docker Hub +name: Upload the tagged release backend 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@v2 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -45,7 +39,6 @@ jobs: push: true tags: | ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:${{ github.event.release.tag_name }} - ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:${{ github.event.release.tag_name }} cache-from: | type=registry,ref=ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:buildcache type=local,src=/tmp/.buildx-cache diff --git a/.github/workflows/cdn-beta.yml b/.github/workflows/cdn-beta.yml index 283f94f2..e1fa7ab8 100644 --- a/.github/workflows/cdn-beta.yml +++ b/.github/workflows/cdn-beta.yml @@ -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 diff --git a/.github/workflows/cdn-latest.yml b/.github/workflows/cdn-latest.yml index 3540c8e2..2fd01a30 100644 --- a/.github/workflows/cdn-latest.yml +++ b/.github/workflows/cdn-latest.yml @@ -1,4 +1,4 @@ -name: Upload latest CDN image to GHCR and Docker Hub +name: Upload latest 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:latest -t ${{ secrets.DOCKERHUB_USERNAME }}/$IMAGE_NAME:latest ./cdn + run: docker buildx build --platform linux/amd64,linux/arm64 --push -t ghcr.io/$REPO_OWNER/$IMAGE_NAME:latest ./cdn diff --git a/.github/workflows/cdn-release.yml b/.github/workflows/cdn-release.yml index 7a2aad7c..1c0925dc 100644 --- a/.github/workflows/cdn-release.yml +++ b/.github/workflows/cdn-release.yml @@ -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 diff --git a/.github/workflows/frontend-beta.yml b/.github/workflows/frontend-beta.yml index 09579824..8125867e 100644 --- a/.github/workflows/frontend-beta.yml +++ b/.github/workflows/frontend-beta.yml @@ -1,4 +1,4 @@ -name: Upload beta frontend image to GHCR and Docker Hub +name: Upload beta frontend 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@v2 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -48,7 +42,6 @@ jobs: push: true tags: | ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:beta - ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:beta cache-from: | type=registry,ref=ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:buildcache type=local,src=/tmp/.buildx-cache diff --git a/.github/workflows/frontend-latest.yml b/.github/workflows/frontend-latest.yml index 8593d160..85d7e5b4 100644 --- a/.github/workflows/frontend-latest.yml +++ b/.github/workflows/frontend-latest.yml @@ -1,4 +1,4 @@ -name: Upload latest frontend image to GHCR and Docker Hub +name: Upload latest frontend image to GHCR permissions: contents: read @@ -30,12 +30,6 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -50,7 +44,6 @@ jobs: push: true tags: | ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:latest - ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:latest cache-from: | type=registry,ref=ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:buildcache type=local,src=/tmp/.buildx-cache diff --git a/.github/workflows/frontend-release.yml b/.github/workflows/frontend-release.yml index 6e659829..a1d35804 100644 --- a/.github/workflows/frontend-release.yml +++ b/.github/workflows/frontend-release.yml @@ -1,4 +1,4 @@ -name: Upload tagged release frontend image to GHCR and Docker Hub +name: Upload tagged release frontend 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@v2 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -45,9 +39,7 @@ jobs: push: true tags: | ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:${{ github.event.release.tag_name }} - ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:${{ github.event.release.tag_name }} ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:latest - ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:latest cache-from: | type=registry,ref=ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:buildcache type=local,src=/tmp/.buildx-cache