remove github action

This commit is contained in:
Halit Aksoy 2024-10-05 19:33:46 +03:00
parent 734417b0a6
commit c916eef54e

View File

@ -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