From b9b9c13f766459283010a08f75665720b60347a7 Mon Sep 17 00:00:00 2001 From: Jonah Date: Thu, 22 Feb 2024 23:33:22 +0100 Subject: [PATCH] Update Pipeline --- .github/workflows/build_nd_deploy_to_AKS.yml | 48 ++++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/build_nd_deploy_to_AKS.yml b/.github/workflows/build_nd_deploy_to_AKS.yml index 1d13bad..60561a0 100644 --- a/.github/workflows/build_nd_deploy_to_AKS.yml +++ b/.github/workflows/build_nd_deploy_to_AKS.yml @@ -9,31 +9,31 @@ permissions: id-token: write jobs: - # build: - name: Build Container Image - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - name: Login to DockerHub - uses: docker/login-action@v3.0.0 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - name: Extract metadata (tags, labels) for Docker - id: metadata - uses: docker/metadata-action@v5 - with: - images: ${{ secrets.DOCKER_USERNAME }}/flaskblog-app:latest + # # build: + # name: Build Container Image + # runs-on: ubuntu-latest + # steps: + # - name: Checkout repository + # uses: actions/checkout@v4 + # - name: Login to DockerHub + # uses: docker/login-action@v3.0.0 + # with: + # username: ${{ secrets.DOCKER_USERNAME }} + # password: ${{ secrets.DOCKER_PASSWORD }} + # - name: Extract metadata (tags, labels) for Docker + # id: metadata + # uses: docker/metadata-action@v5 + # with: + # images: ${{ secrets.DOCKER_USERNAME }}/flaskblog-app:latest - - name: Build and push - uses: docker/build-push-action@v5 - with: - context: . - file: ./Dockerfile - push: true - tags: ${{ secrets.DOCKER_USERNAME }}/flaskblog-app:${{ github.sha }} - labels: ${{ steps.metadata.outputs.labels }} + # - name: Build and push + # uses: docker/build-push-action@v5 + # with: + # context: . + # file: ./Dockerfile + # push: true + # tags: ${{ secrets.DOCKER_USERNAME }}/flaskblog-app:${{ github.sha }} + # labels: ${{ steps.metadata.outputs.labels }} deploy: defaults: run: