QubitPi commited on
Commit
500f871
·
unverified ·
1 Parent(s): 8b611a7

Uncomment required code (#3)

Browse files
Files changed (1) hide show
  1. .github/workflows/ci-cd.yaml +3 -3
.github/workflows/ci-cd.yaml CHANGED
@@ -106,20 +106,20 @@ jobs:
106
  resource: http://localhost:7860/?view=api
107
  timeout: 60000
108
  - name: Login to DockerHub
109
- #if: github.ref == 'refs/heads/master'
110
  uses: docker/login-action@v2
111
  with:
112
  username: paiondatahub
113
  password: ${{ secrets.DOCKERHUB_TOKEN }}
114
  - name: Push image to DockerHub
115
- #if: github.ref == 'refs/heads/master'
116
  uses: docker/build-push-action@v3
117
  with:
118
  context: .
119
  push: true
120
  tags: paiondatahub/aristotle:latest
121
  - name: Push image Description
122
- #if: github.ref == 'refs/heads/master'
123
  uses: peter-evans/dockerhub-description@v4
124
  with:
125
  username: paiondatahub
 
106
  resource: http://localhost:7860/?view=api
107
  timeout: 60000
108
  - name: Login to DockerHub
109
+ if: github.ref == 'refs/heads/master'
110
  uses: docker/login-action@v2
111
  with:
112
  username: paiondatahub
113
  password: ${{ secrets.DOCKERHUB_TOKEN }}
114
  - name: Push image to DockerHub
115
+ if: github.ref == 'refs/heads/master'
116
  uses: docker/build-push-action@v3
117
  with:
118
  context: .
119
  push: true
120
  tags: paiondatahub/aristotle:latest
121
  - name: Push image Description
122
+ if: github.ref == 'refs/heads/master'
123
  uses: peter-evans/dockerhub-description@v4
124
  with:
125
  username: paiondatahub