From fcef95ad3ee67e31bd20f1b7202e7e9439a216ec Mon Sep 17 00:00:00 2001 From: DotCipher <71338128+Wiran-Larbi@users.noreply.github.com> Date: Thu, 4 Apr 2024 17:41:57 +0000 Subject: [PATCH] Update cicd.yaml --- .github/workflows/cicd.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index a0b04bb..238fa52 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -78,8 +78,8 @@ jobs: - name: Tag to Dockerhub run: | - docker tag backend dotcipher/sp-backend:latest - docker tag frontend dotcipher/sp-frontend:latest + docker tag backend dotcipher1/sp-backend:latest + docker tag frontend dotcipher1/sp-frontend:latest - name: Login to Dockerhub uses: docker/login-action@v3 @@ -87,14 +87,14 @@ jobs: username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} - # - name: Push to Dockerhub - # run: | - # docker push dotcipher/sp-backend:latest - # docker push dotcipher/sp-frontend:latest - - name: Push to Dockerhub - uses: docker/build-push-action@v5.3.0 - with: - push: true - tags: "dotcipher/sp-backend:latest ,dotcipher/sp-frontend:latest" - github-token: ${{ secrets.GITHUB_TOKEN }} + run: | + docker push dotcipher/sp-backend:latest + docker push dotcipher/sp-frontend:latest + + # - name: Push to Dockerhub + # uses: docker/build-push-action@v5.3.0 + # with: + # push: true + # tags: "dotcipher/sp-backend:latest ,dotcipher/sp-frontend:latest" + # github-token: ${{ secrets.GITHUB_TOKEN }}