diff --git a/.github/workflows/build-push-action.yml b/.github/workflows/build-push-action.yml index d3755b4..5e10949 100644 --- a/.github/workflows/build-push-action.yml +++ b/.github/workflows/build-push-action.yml @@ -9,32 +9,32 @@ # https://github.com/docker/build-push-action -name: Publish Docker image on: push: branches: - - 'main' + - "main" jobs: - docker: + build: runs-on: ubuntu-latest steps: - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + - name: Checkout + uses: actions/checkout@v3 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - name: Login to Docker Hub uses: docker/login-action@v2 with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - - name: Build and push + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + + - name: Build and push uses: docker/build-push-action@v4 with: context: . + file: ./Dockerfile push: true - tags: andrewquijano92/ppdt:latest + tags: ${{ secrets.DOCKERHUB_USERNAME }}/ppdt:latest \ No newline at end of file diff --git a/eks-config/config.yaml b/eks-config/config.yaml index 0b172c3..31249e7 100644 --- a/eks-config/config.yaml +++ b/eks-config/config.yaml @@ -7,7 +7,8 @@ metadata: version: "1.27" managedNodeGroups: - name: primary - instanceType: t2.small - minSize: 3 + instanceType: m5.large + desiredCapacity: 12 + minSize: 12 maxSize: 15 spot: true \ No newline at end of file