Skip to content

chore: bumped node 10.1.3 and db-sync 13.6.0.4 (#585) #298

chore: bumped node 10.1.3 and db-sync 13.6.0.4 (#585)

chore: bumped node 10.1.3 and db-sync 13.6.0.4 (#585) #298

name: Post-integration
on:
push:
branches:
- master
jobs:
push-docker-build:
runs-on: ubuntu-20.04
steps:
- name: Checkout source code
uses: actions/checkout@v2
- name: Free Diskspace
uses: ./.github/actions/free_disk_space
- name: Build Cardano Rosetta - mainnet
uses: ./.github/actions/build_cardano_rosetta
with:
build-context: ${{ github.workspace }}
tag: ${{ github.sha }}
- name: Build Cardano Rosetta - preprod
uses: ./.github/actions/build_cardano_rosetta
with:
build-cache-image: cardano-rosetta:${{ github.sha }}
build-context: ${{ github.workspace }}
network-identifier: preprod
tag: ${{ github.sha }}-preprod
- name: Build Cardano Rosetta - preview
uses: ./.github/actions/build_cardano_rosetta
with:
build-cache-image: cardano-rosetta:${{ github.sha }}
build-context: ${{ github.workspace }}
network-identifier: preview
tag: ${{ github.sha }}-preview
- name: Build Cardano Rosetta - sanchonet
uses: ./.github/actions/build_cardano_rosetta
with:
build-cache-image: cardano-rosetta:${{ github.sha }}
build-context: ${{ github.workspace }}
network-identifier: sanchonet
tag: ${{ github.sha }}-sanchonet
- name: Postman Tests
uses: ./.github/actions/postman_tests_cardano_rosetta
with:
tag: ${{ github.sha }}
- name: Apply master tag
run: |
docker tag cardano-rosetta:${{ github.sha }} cardanofoundation/cardano-rosetta:${{ github.sha }}
docker tag cardano-rosetta:${{ github.sha }} cardanofoundation/cardano-rosetta:master
docker tag cardano-rosetta:${{ github.sha }}-preprod cardanofoundation/cardano-rosetta:${{ github.sha }}-preprod
docker tag cardano-rosetta:${{ github.sha }}-preprod cardanofoundation/cardano-rosetta:master-preprod
docker tag cardano-rosetta:${{ github.sha }}-preview cardanofoundation/cardano-rosetta:${{ github.sha }}-preview
docker tag cardano-rosetta:${{ github.sha }}-preview cardanofoundation/cardano-rosetta:master-preview
docker tag cardano-rosetta:${{ github.sha }}-sanchonet cardanofoundation/cardano-rosetta:${{ github.sha }}-sanchonet
docker tag cardano-rosetta:${{ github.sha }}-sanchonet cardanofoundation/cardano-rosetta:master-sanchonet
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Push to Docker Hub
run: |
docker push cardanofoundation/cardano-rosetta:${{ github.sha }}
docker push cardanofoundation/cardano-rosetta:master
docker push cardanofoundation/cardano-rosetta:${{ github.sha }}-preprod
docker push cardanofoundation/cardano-rosetta:master-preprod
docker push cardanofoundation/cardano-rosetta:${{ github.sha }}-preview
docker push cardanofoundation/cardano-rosetta:master-preview