From eee8f1fc788ed96d2693d3545a1b40dbbc20e0ee Mon Sep 17 00:00:00 2001 From: colindickson Date: Tue, 24 Oct 2023 17:13:51 -0400 Subject: [PATCH] dockerfile: fix copy path --- .github/workflows/release.yml | 6 ------ Dockerfile | 3 ++- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d3ac0207..4828be18 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,12 +4,6 @@ on: push: tags: - "*-fire" - workflow_dispatch: - inputs: - core_version: - description: 'version of nearcore (optional: if not provided, will be inferred from tag)' - required: false - type: string env: REGISTRY: ghcr.io diff --git a/Dockerfile b/Dockerfile index 83cab7a3..41b7b398 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,6 +31,7 @@ COPY . . RUN CARGO_TARGET_DIR=/tmp/target make release RUN ls -la /tmp/target +RUN ls -la /tmp/target/release FROM ubuntu:20.04 @@ -57,7 +58,7 @@ RUN mkdir /tmp/s5cmd && \ -COPY --from=build /tmp/target/near-firehose-indexer /app/neard +COPY --from=build /tmp/target/release/near-firehose-indexer /app/neard RUN chmod +x /app/near-firehose-indexer ENV PATH "$PATH:/app" \ No newline at end of file