File tree Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 3
3
push :
4
4
tags :
5
5
- fortuna-v*
6
+ pull_request :
7
+ paths :
8
+ - " apps/fortuna/**"
6
9
workflow_dispatch :
7
10
inputs :
8
11
dispatch_description :
47
50
with :
48
51
context : .
49
52
file : " ./apps/fortuna/Dockerfile"
50
- push : true
53
+ push : ${{ github.event_name != 'pull_request' }}
51
54
tags : ${{ steps.metadata_fortuna.outputs.tags }}
52
55
labels : ${{ steps.metadata_fortuna.outputs.labels }}
Original file line number Diff line number Diff line change 3
3
push :
4
4
tags :
5
5
- hermes-v*
6
+ pull_request :
7
+ paths :
8
+ - " apps/hermes/server/**"
6
9
workflow_dispatch :
7
10
inputs :
8
11
dispatch_description :
38
41
AWS_REGION : us-east-1
39
42
- run : |
40
43
DOCKER_BUILDKIT=1 docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f apps/hermes/server/Dockerfile .
41
- docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
44
+ if [[ "${{ github.event_name }}" != "pull_request" ]]; then
45
+ docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
46
+ fi
42
47
env:
43
48
ECR_REGISTRY: public.ecr.aws
44
49
ECR_REPOSITORY: pyth-network/hermes
Original file line number Diff line number Diff line change 3
3
push :
4
4
tags :
5
5
- pyth-price-pusher-v*
6
+ pull_request :
7
+ paths :
8
+ - " apps/price_pusher/**"
9
+ - " Dockerfile.node"
6
10
workflow_dispatch :
7
11
inputs :
8
12
dispatch_description :
40
44
id : ecr_login
41
45
- run : |
42
46
DOCKER_BUILDKIT=1 docker build --build-arg package="@pythnetwork/price-pusher" -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f Dockerfile.node .
43
- docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
47
+ if [[ "${{ github.event_name }}" != "pull_request" ]]; then
48
+ docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
49
+ fi
44
50
env:
45
51
ECR_REGISTRY: public.ecr.aws
46
52
ECR_REPOSITORY: pyth-network/xc-price-pusher
Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ name: xc_admin_frontend Docker Image
2
2
on :
3
3
push :
4
4
branches : [main]
5
- paths : [governance/xc_admin/**]
5
+ paths : ["governance/xc_admin/**"]
6
+ pull_request :
7
+ paths : ["governance/xc_admin/**"]
6
8
permissions :
7
9
contents : read
8
10
id-token : write
You can’t perform that action at this time.
0 commit comments