feat: Added retry mechanism to api calls #14
This file contains hidden or 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 push docker | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@v2 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: '17' | |
| distribution: 'zulu' | |
| - name: Build Spring app | |
| run: ./gradlew bootjar | |
| - name: Login into docker registry | |
| uses: docker/[email protected] | |
| with: | |
| username: 1grzyb1 | |
| password: ${{ secrets.DOCKER_PASSWORD }} | |
| - name: Build and push Docker for backend | |
| uses: docker/[email protected] | |
| with: | |
| context: . | |
| push: true | |
| tags: 1grzyb1/aoc-slack:latest |