Skip to content

Commit

Permalink
Disable docker push image in ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
lipingxue committed Nov 1, 2023
1 parent d2cba53 commit 6a43e64
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:
run: |
cd src/github.com/vmware-tanzu/velero-plugin-for-vsphere
make ci
- name: Build the plugin and push images to docker hub
if: github.event_name == 'push' && github.repository == 'vmware-tanzu/velero-plugin-for-vsphere'
env:
GOPATH: ${GITHUB_WORKSPACE}
run: |
cd src/github.com/vmware-tanzu/velero-plugin-for-vsphere
echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
make push
#- name: Build the plugin and push images to docker hub
# if: github.event_name == 'push' && github.repository == 'vmware-tanzu/velero-plugin-for-vsphere'
# env:
# GOPATH: ${GITHUB_WORKSPACE}
# run: |
# cd src/github.com/vmware-tanzu/velero-plugin-for-vsphere
# echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
# make push

0 comments on commit 6a43e64

Please sign in to comment.