chore(docker): Add docker build cache & Increase timeout in client Dockerfile #19
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 and Deploy to Prod | |
on: | |
push: | |
branches: [main] | |
# TODO: remove the following line after build works with cache | |
pull_request: | |
branches: [main] | |
types: [opened, reopened, edited, synchronize] | |
jobs: | |
build-prod-container: | |
uses: ./.github/workflows/build_docker.yml | |
secrets: inherit | |
deploy-prod-container: | |
needs: build-prod-container | |
uses: ./.github/workflows/deploy_docker.yml | |
secrets: inherit | |
with: | |
environment: production | |
client_image_tag: "latest" | |
application_server_image_tag: "latest" | |
webhook_listener_image_tag: "latest" |