update gh action to build image and add helm chart for deployment #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Docker Image | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
- 'develop/**' | |
env: | |
IMAGE_NAME: formtion-frontend | |
jobs: | |
build-and-publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build image | |
run: docker build . --file ./.docker/Dockerfile --tag $IMAGE_NAME |