-
Notifications
You must be signed in to change notification settings - Fork 3
52 lines (48 loc) · 1.4 KB
/
aztec-testnet.yml
File metadata and controls
52 lines (48 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Aztec Testnet Network gRPC
on:
workflow_dispatch:
push:
branches: [ main, dev ]
paths:
- 'js-aztec-testnet/src/**'
- 'js-aztec-testnet/package.json'
- 'js-aztec-testnet/package-lock.json'
- 'js-aztec-testnet/tsconfig.json'
- 'Dockerfile.aztec-testnet-grpc'
- 'protos/**'
- '.github/workflows/aztec-testnet.yml'
- '.github/actions/docker/**'
pull_request:
branches: [ main, dev ]
paths:
- 'js-aztec-testnet/src/**'
- 'js-aztec-testnet/package.json'
- 'js-aztec-testnet/package-lock.json'
- 'js-aztec-testnet/tsconfig.json'
- 'Dockerfile.aztec-testnet-grpc'
- 'protos/**'
- '.github/workflows/aztec-testnet.yml'
- '.github/actions/docker/**'
release:
types: [published, created]
env:
DOCKER_IMAGE: trainprotocol/solver-aztec-testnet-grpc
NODE_VERSION: 22
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Docker build and push
id: docker
uses: ./.github/actions/docker
with:
context: .
file: Dockerfile.aztec-testnet-grpc
docker-image: ${{ env.DOCKER_IMAGE }}
dockerhub-username: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }}
build-args: ""