Skip to content

Commit

Permalink
fix: github CI workflow for docker image publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeshanakram3 committed Dec 13, 2023
1 parent 95524c6 commit ed26432
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
uses: docker/build-push-action@v3
with:
# Do not use local dir context to ensure we can build from a commit directly
# context: .
context: .
file: Dockerfile
push: false
load: true
Expand Down
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@ ADD package-lock.json .
ADD assets assets
RUN npm ci
ADD tsconfig.json .
ADD typegen.json .
ADD joystream.jsonl .
ADD src src
ADD schema schema
ADD scripts scripts
RUN npx squid-typeorm-codegen
RUN npx squid-substrate-typegen typegen.json
RUN npm run generate:schema || true
RUN npx squid-typeorm-codegen
RUN npm run build

FROM node-with-gyp AS deps
Expand Down

0 comments on commit ed26432

Please sign in to comment.