Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
push:
tags:
- fortuna-v*
pull_request:
paths:
- "apps/fortuna/**"
workflow_dispatch:
inputs:
dispatch_description:
Expand Down Expand Up @@ -47,6 +50,6 @@ jobs:
with:
context: .
file: "./apps/fortuna/Dockerfile"
push: true
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.metadata_fortuna.outputs.tags }}
labels: ${{ steps.metadata_fortuna.outputs.labels }}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
push:
tags:
- hermes-v*
pull_request:
paths:
- "apps/hermes/server/**"
workflow_dispatch:
inputs:
dispatch_description:
Expand Down Expand Up @@ -38,7 +41,9 @@ jobs:
AWS_REGION: us-east-1
- run: |
DOCKER_BUILDKIT=1 docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f apps/hermes/server/Dockerfile .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
if [[ "${{ github.event_name }}" != "pull_request" ]]; then
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
fi
env:
ECR_REGISTRY: public.ecr.aws
ECR_REPOSITORY: pyth-network/hermes
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
push:
tags:
- pyth-price-pusher-v*
pull_request:
paths:
- "apps/price_pusher/**"
- "Dockerfile.node"
workflow_dispatch:
inputs:
dispatch_description:
Expand Down Expand Up @@ -40,7 +44,9 @@ jobs:
id: ecr_login
- run: |
DOCKER_BUILDKIT=1 docker build --build-arg package="@pythnetwork/price-pusher" -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f Dockerfile.node .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
if [[ "${{ github.event_name }}" != "pull_request" ]]; then
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
fi
env:
ECR_REGISTRY: public.ecr.aws
ECR_REPOSITORY: pyth-network/xc-price-pusher
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: xc_admin_frontend Docker Image
on:
push:
branches: [main]
paths: [governance/xc_admin/**]
paths: ["governance/xc_admin/**"]
pull_request:
paths: ["governance/xc_admin/**"]
permissions:
contents: read
id-token: write
Expand Down
Loading