diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci-cd.yaml similarity index 72% rename from .github/workflows/ci.yaml rename to .github/workflows/ci-cd.yaml index 891f597..59f2c9f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci-cd.yaml @@ -44,13 +44,13 @@ jobs: run: docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} -p ${{ secrets.DOCKER_HUB_TOKEN }} - name: Build - run: docker build -t back . + run: docker build -t sentibites . - name: Tags run: | - docker tag back ${{ secrets.DOCKER_HUB_USERNAME }}/back:${{ github.sha }} - docker tag back ${{ secrets.DOCKER_HUB_USERNAME }}/back:latest + docker tag sentibites ${{ secrets.DOCKER_HUB_USERNAME }}/sentibites:${{ github.sha }} + docker tag sentibites ${{ secrets.DOCKER_HUB_USERNAME }}/sentibites:latest - name: Push run: | - docker push ${{ secrets.DOCKER_HUB_USERNAME }}/back:${{ github.sha }} - docker push ${{ secrets.DOCKER_HUB_USERNAME }}/back:latest + docker push ${{ secrets.DOCKER_HUB_USERNAME }}/sentibites:${{ github.sha }} + docker push ${{ secrets.DOCKER_HUB_USERNAME }}/sentibites:latest \ No newline at end of file