Skip to content

Commit 62966da

Browse files
DockerHub login and push in CI/CD workflow
Comment out DockerHub login and push steps for containers.
1 parent 56f4e59 commit 62966da

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/CICD-containers.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919

2020
- uses: actions/checkout@v3
2121

22-
- name: Login to DockerHub
23-
uses: docker/login-action@v2
24-
with:
25-
username: ${{ secrets.DOCKERHUB_SAMPLES_USERNAME }}
26-
password: ${{ secrets.DOCKERHUB_SAMPLES_PASSWORD }}
22+
#- name: Login to DockerHub
23+
# uses: docker/login-action@v2
24+
# with:
25+
# username: ${{ secrets.DOCKERHUB_SAMPLES_USERNAME }}
26+
# password: ${{ secrets.DOCKERHUB_SAMPLES_PASSWORD }}
2727

2828
- name: Set Version Number
2929

@@ -33,22 +33,22 @@ jobs:
3333
- name: Build OctoPetShop web container
3434
run: |
3535
docker build ./OctopusSamples.OctoPetShop.Web --file ./OctopusSamples.OctoPetShop.Web/dockerfile --tag octopussamples/octopetshop-web-enterprise:${{ steps.version-generator.outputs.version }}
36-
docker push octopussamples/octopetshop-web-enterprise:${{ steps.version-generator.outputs.version }}
36+
# docker push octopussamples/octopetshop-web-enterprise:${{ steps.version-generator.outputs.version }}
3737

3838
- name: Build OctoPetShop product service container
3939
run: |
4040
docker build ./OctopusSamples.OctoPetShop.ProductService --file ./OctopusSamples.OctoPetShop.ProductService/dockerfile --tag octopussamples/octopetshop-productservice-enterprise:${{ steps.version-generator.outputs.version }}
41-
docker push octopussamples/octopetshop-productservice-enterprise:${{ steps.version-generator.outputs.version }}
41+
# docker push octopussamples/octopetshop-productservice-enterprise:${{ steps.version-generator.outputs.version }}
4242

4343
- name: Build OctoPetShop shopping cart container
4444
run: |
4545
docker build ./OctopusSamples.OctoPetShop.ShoppingCartService --file ./OctopusSamples.OctoPetShop.ShoppingCartService/dockerfile --tag octopussamples/octopetshop-shoppingcartservice-enterprise:${{ steps.version-generator.outputs.version }}
46-
docker push octopussamples/octopetshop-shoppingcartservice-enterprise:${{ steps.version-generator.outputs.version }}
46+
# docker push octopussamples/octopetshop-shoppingcartservice-enterprise:${{ steps.version-generator.outputs.version }}
4747

4848
- name: Build OctoPetShop database container
4949
run: |
5050
docker build ./OctopusSamples.OctoPetShop.Database --file ./OctopusSamples.OctoPetShop.Database/dockerfile --tag octopussamples/octopetshop-database-enterprise:${{ steps.version-generator.outputs.version }}
51-
docker push octopussamples/octopetshop-database-enterprise:${{ steps.version-generator.outputs.version }}
51+
# docker push octopussamples/octopetshop-database-enterprise:${{ steps.version-generator.outputs.version }}
5252

5353

5454
Push-build-information:

0 commit comments

Comments
 (0)