Skip to content

Commit

Permalink
Revert "feat: publish to dockerhub in github CI simultaneously"
Browse files Browse the repository at this point in the history
This reverts commit d066268.
  • Loading branch information
isanwenyu committed Jul 5, 2023
1 parent 193a9e2 commit cd3774e
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/deploy-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Log in to the Container registry
uses: docker/login-action@v2
with:
Expand All @@ -47,9 +41,7 @@ jobs:
id: meta
uses: docker/metadata-action@v4
with:
images: |
${{ env.IMAGE_NAME }}
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
uses: docker/build-push-action@v3
Expand Down

0 comments on commit cd3774e

Please sign in to comment.