diff --git a/.github/workflows/build-and-deploy.yaml b/.github/workflows/build-and-deploy.yaml deleted file mode 100644 index 5015b13..0000000 --- a/.github/workflows/build-and-deploy.yaml +++ /dev/null @@ -1,29 +0,0 @@ -name: Build & Deploy Docker Image -on: - push: - tags: - - v* -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - uses: little-core-labs/get-git-tag@v3.0.1 - id: tagName - with: - tagRegex: "v(.*)" - tagRegexGroup: 1 - - - name: Login to DockerHub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build the Docker image - run: docker build ./backend -t jhalitaksoy/mancala-backend:$GIT_TAG_NAME - - - name: Push the Docker image - run: docker push jhalitaksoy/mancala-backend:$GIT_TAG_NAME \ No newline at end of file