Skip to content

Commit

Permalink
Build ponder
Browse files Browse the repository at this point in the history
  • Loading branch information
fewensa authored May 13, 2024
1 parent eb72c34 commit 1cfcf70
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ env:
DOCKER_REGISTRY: ghcr.io

jobs:
publish-apollo:
name: Publish apollo
publish-indexer:
name: Publish indexer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -33,12 +33,24 @@ jobs:
- uses: olegtarasov/[email protected]
id: tag-name

- name: Build and push
- name: Build apollo
uses: docker/build-push-action@v3
with:
push: true
context: .
file: apollo/Dockerfile
tags: |
${{ env.DOCKER_REGISTRY }}/${{ github.repository }}:sha-${{ steps.short-sha.outputs.sha }}
${{ env.DOCKER_REGISTRY }}/${{ github.repository }}:${{ steps.tag-name.outputs.tag }}
${{ env.DOCKER_REGISTRY }}/${{ github.repository }}/apollo:sha-${{ steps.short-sha.outputs.sha }}
${{ env.DOCKER_REGISTRY }}/${{ github.repository }}/apollo:${{ steps.tag-name.outputs.tag }}
- name: Build ponder
uses: docker/build-push-action@v3
with:
push: true
context: .
file: ponder/lnv3/Dockerfile
tags: |
${{ env.DOCKER_REGISTRY }}/${{ github.repository }}/ponder:sha-${{ steps.short-sha.outputs.sha }}
${{ env.DOCKER_REGISTRY }}/${{ github.repository }}/ponder:${{ steps.tag-name.outputs.tag }}
11 changes: 11 additions & 0 deletions ponder/lnv3/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM node:21-alpine

COPY . /app

RUN cd /app && \
yarn install && \
yarn codegen

WORKDIR /app

CMD ["yarn", "start"]

0 comments on commit 1cfcf70

Please sign in to comment.