From 9ce4b4450bdc4ead58ccac8b1f0d114436f55a6c Mon Sep 17 00:00:00 2001 From: Hossain Chisty Date: Sat, 21 Oct 2023 00:43:05 -0700 Subject: [PATCH] Delete .github/workflows/docker.yml --- .github/workflows/docker.yml | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 .github/workflows/docker.yml diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml deleted file mode 100644 index a1abba6..0000000 --- a/.github/workflows/docker.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: 🏗 Build and Push Docker Image -on: - push: - branches: - - master -jobs: - build-and-push: - runs-on: ubuntu-latest - steps: - - name: 🏗 Checkout code - uses: actions/checkout@v2 - - - name: 🔐 Login to Docker Hub - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - - name: 📦 Build Docker image - run: | - docker build \ - --pull \ - --cache-from ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_IMAGE }}:${{ secrets.TAG }} \ - --tag ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_IMAGE }}:${{ secrets.TAG }} \ - --file Dockerfile.build . - - - name: 🚀 Push Docker image to Docker Hub - run: docker push ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_IMAGE }}:${{ secrets.TAG }}