mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-04-22 11:28:00 +00:00
add docker build + push to CI
This commit is contained in:
@@ -22,3 +22,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
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
dockerfile: Dockerfile
|
||||
repository: paritytech/substrate-telemetry-backend-${{ github.event.client_payload.id }}
|
||||
tags: latest
|
||||
add_git_labels: true
|
||||
tag_with_ref: true
|
||||
tag_with_sha: true
|
||||
|
||||
@@ -36,3 +36,15 @@ 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
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
dockerfile: Dockerfile
|
||||
repository: paritytech/substrate-telemetry-frontend-${{ github.event.client_payload.id }}
|
||||
tags: latest
|
||||
add_git_labels: true
|
||||
tag_with_ref: true
|
||||
tag_with_sha: true
|
||||
|
||||
Reference in New Issue
Block a user