From 0b0b2664ba607a3de30af4031b39c24cf0e63ec6 Mon Sep 17 00:00:00 2001 From: Oded Ben Ozer Date: Wed, 3 Apr 2024 13:42:36 +0200 Subject: [PATCH] Disable Publishing of images to DockerHub until token issue is addressed (#158) --- .github/workflows/docker-publish-on-comment.yml | 6 ------ .github/workflows/docker-publish.yml | 7 ------- 2 files changed, 13 deletions(-) diff --git a/.github/workflows/docker-publish-on-comment.yml b/.github/workflows/docker-publish-on-comment.yml index cace4267..70e2d5fe 100644 --- a/.github/workflows/docker-publish-on-comment.yml +++ b/.github/workflows/docker-publish-on-comment.yml @@ -58,11 +58,6 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Log into Docker Hub registry ${{ env.REGISTRY }} - uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} # Extract metadata (tags, labels) for Docker # https://github.com/docker/metadata-action @@ -75,7 +70,6 @@ jobs: context: git images: | ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - wayfaiross/telefonistka tags: | type=ref,event=branch type=ref,event=pr diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index c4d6fc09..956c141c 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -61,12 +61,6 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Log into Docker Hub registry ${{ env.REGISTRY }} - if: github.event_name != 'pull_request' - uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} # Extract metadata (tags, labels) for Docker # https://github.com/docker/metadata-action @@ -78,7 +72,6 @@ jobs: with: images: | ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - wayfaiross/telefonistka # Build and push Docker image with Buildx (don't push on PR)