Merge remote-tracking branch 'origin/master' into dp-mute-node-connector-when-denied-or-overquota

This commit is contained in:
David Palm
2021-03-26 15:04:40 +01:00
2 changed files with 19 additions and 15 deletions
+9 -7
View File
@@ -3,6 +3,7 @@ name: Backend CI
on:
push:
paths:
- '.github/workflows/**'
- 'backend/**'
- '!frontend/**'
@@ -22,14 +23,15 @@ jobs:
- name: Build release and call executable
working-directory: ./backend
run: cargo run --release -- --help
- name: Build and Push template image
uses: docker/build-push-action@v1 # https://github.com/docker/build-push-action
- name: Login to Dockerhub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
path: ./backend/
dockerfile: ./backend/Dockerfile
repository: parity/substrate-telemetry-backend
- name: Build and Push template image
uses: docker/build-push-action@v2 # https://github.com/docker/build-push-action
with:
context: './backend'
push: ${{ startsWith(github.ref, 'refs/tags/') }}
tags: latest
add_git_labels: true
tags: parity/substrate-telemetry-backend:latest
# add_git_labels: true
+10 -8
View File
@@ -6,6 +6,7 @@ name: Frontend CI
on:
push:
paths:
- '.github/workflows/**'
- 'frontend/**'
- '!backend/**'
@@ -36,15 +37,16 @@ jobs:
- name: Build
working-directory: ./frontend
run: yarn build
- name: Build and Push template image
uses: docker/build-push-action@v1 # https://github.com/docker/build-push-action
if: matrix.node-version == '12.x'
- name: Login to Dockerhub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
path: ./frontend/
dockerfile: ./frontend/Dockerfile
repository: parity/substrate-telemetry-frontend
- name: Build and Push template image
uses: docker/build-push-action@v2 # https://github.com/docker/build-push-action
if: matrix.node-version == '12.x'
with:
context: './frontend'
push: ${{ startsWith(github.ref, 'refs/tags/') }}
tags: latest
add_git_labels: true
tags: parity/substrate-telemetry-frontend:latest
# add_git_labels: true