Merge pull request #944 from cardano-foundation/chore/prepare-8-4-1 #222
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: Post-integration | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 📥 Checkout repository | |
| uses: actions/checkout@v2.3.1 | |
| with: | |
| submodules: true | |
| - name: 🧰 Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v1 | |
| - name: 🧰 Setup Node.js | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 14 | |
| - name: 🐳 Login to DockerHub | |
| uses: docker/login-action@v1 | |
| with: | |
| username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
| password: ${{ secrets.DOCKER_HUB_TOKEN }} | |
| - name: 📝 Base Variables | |
| id: base-variables | |
| run: | | |
| echo ::set-output name=cardano-graphql-image::cardanofoundation/cardano-graphql | |
| echo ::set-output name=cardano-graphql-hasura-image::cardanofoundation/cardano-graphql-hasura | |
| echo ::set-output name=cardano-graphql-background-image::cardanofoundation/cardano-graphql-background | |
| echo ::set-output name=cardano-graphql-server-image::cardanofoundation/cardano-graphql-server | |
| - name: Server - Build and push Docker master image | |
| uses: docker/build-push-action@v2 | |
| with: | |
| push: true | |
| tags: cardanofoundation/cardano-graphql-server:master | |
| target: server | |
| - name: Background - Build and push Docker master image | |
| uses: docker/build-push-action@v2 | |
| with: | |
| push: true | |
| tags: cardanofoundation/cardano-graphql-background:master | |
| target: background | |
| - name: Hasura - Build and push Docker master image | |
| uses: docker/build-push-action@v2 | |
| with: | |
| context: ./packages/api-cardano-db-hasura/hasura | |
| file: ./packages/api-cardano-db-hasura/hasura/Dockerfile | |
| push: true | |
| tags: cardanofoundation/cardano-graphql-hasura:master |