Skip to content

Commit

Permalink
Updating EKS to use large EC2 instances. Also will try fixing dockerh…
Browse files Browse the repository at this point in the history
…ub deployment
  • Loading branch information
Andrew Quijano committed Jun 22, 2023
1 parent bd89a79 commit 3e8165b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build-push-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 3 additions & 2 deletions eks-config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3e8165b

Please sign in to comment.