Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

feat: implemnts console/account page #31

feat: implemnts console/account page

feat: implemnts console/account page #31

Workflow file for this run

name: CI-Infra
on:
pull_request:
types: [opened, edited, synchronize, reopened]
paths:
- 'aws/**'
- 'backend/**'
push:
branches:
- main
permissions:
id-token: write
contents: read
env:
AWS_REGION: ap-northeast-2
jobs:
validation:
name: validate terraform
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_GITHUB_ACTION_ROLE }}
aws-region: ${{ env.AWS_REGION }}
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.5.2
- name: Terraform Init
working-directory: ./aws
run: terraform init
- name: Terraform Validation
working-directory: ./aws
run: terraform validate
docker-build:
name: build docker image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build image
uses: docker/build-push-action@v5
with:
file: ./backend/Dockerfile
push: false
tags: skku-royals/api:latest