diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b90030d..2ea616d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,26 +3,8 @@ on: pull_request: jobs: - build_and_push_image: - steps: - - name: checkout code - uses: actions/checkout@v5.0.0 - - name: login to dockerhub - uses: docker/login-action@v3.6.0 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push - uses: docker/build-push-action@v6 - with: - context: . - push: true - tags: ahmedgamalyousef/firstcicd:latest - deploy: - needs: build_and_push_image steps: - name: checkout code uses: actions/checkout@v5.0.0