Reintroduce readiness probe (#258) #83
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: Cloud Deployment | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'cloud/**' | |
- '.github/workflows/publish-cloud.yml' | |
jobs: | |
# Push an image. | |
# See also https://docs.docker.com/docker-hub/builds/ | |
cloud_infrastructure_docker_push: | |
runs-on: ubuntu-latest | |
if: github.event_name == 'push' | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: satackey/action-docker-layer-caching@v0.0.8 | |
continue-on-error: true | |
- name: Push infrastructure images | |
working-directory: ./cloud/infrastructure | |
run: | | |
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login docker.io -u ${{ secrets.DOCKER_USER_NAME }} --password-stdin | |
./gradlew docker dockerPush |