From 42ee61eccd55def419e4325008058043ec9e1043 Mon Sep 17 00:00:00 2001 From: CodeElixir Date: Sun, 11 Feb 2024 04:26:39 +0530 Subject: [PATCH] Update workflow --- .github/workflows/docker-image-cd.yml | 3 --- .github/workflows/docker-image-ci.yml | 4 ---- 2 files changed, 7 deletions(-) diff --git a/.github/workflows/docker-image-cd.yml b/.github/workflows/docker-image-cd.yml index 82741b5..c582211 100644 --- a/.github/workflows/docker-image-cd.yml +++ b/.github/workflows/docker-image-cd.yml @@ -7,11 +7,8 @@ on: - completed jobs: - build: - runs-on: self-hosted - steps: - name: Pull Docker image run: sudo docker pull gsandeep04/wild-oasis:latest diff --git a/.github/workflows/docker-image-ci.yml b/.github/workflows/docker-image-ci.yml index 0f4a9e7..377fef0 100644 --- a/.github/workflows/docker-image-ci.yml +++ b/.github/workflows/docker-image-ci.yml @@ -5,11 +5,8 @@ on: branches: [ "main" ] jobs: - build: - runs-on: ubuntu-latest - steps: - uses: actions/checkout@v4.1.1 - name: Login Dockerhub @@ -17,7 +14,6 @@ jobs: DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}} DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}} run: docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD - - name: Build the Docker image run: docker build -t gsandeep04/wild-oasis . - name: Push to Dockerhub