Skip to content

Commit

Permalink
Disable Publishing of images to DockerHub until token issue is addres…
Browse files Browse the repository at this point in the history
…sed (#158)
  • Loading branch information
Oded-B authored Apr 3, 2024
1 parent 137655d commit 0b0b266
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/docker-publish-on-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -75,7 +70,6 @@ jobs:
context: git
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
wayfaiross/telefonistka
tags: |
type=ref,event=branch
type=ref,event=pr
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit 0b0b266

Please sign in to comment.