Skip to content

Commit

Permalink
Removed org name (#544)
Browse files Browse the repository at this point in the history
* Update pipeline.yml

* removed org name

* Update Dockerfile

* Update Dockerfile
  • Loading branch information
kristinaNikolaevaa authored Sep 18, 2024
1 parent b2558cb commit e448ce0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ def build_docker_image(evm_sha_tag):
docker_client.pull(solana_image)
buildargs = {"REVISION": evm_sha_tag,
"SOLANA_IMAGE": solana_image,
"SOLANA_BPF_VERSION": SOLANA_BPF_VERSION}
"SOLANA_BPF_VERSION": SOLANA_BPF_VERSION,
"DOCKERHUB_ORG_NAME": DOCKERHUB_ORG_NAME}

tag = f"{DOCKERHUB_ORG_NAME}/{IMAGE_NAME}:{evm_sha_tag}"
click.echo("start build")
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ on:
env:
DHUBU: ${{secrets.DHUBU}}
DHUBP: ${{secrets.DHUBP}}
PROXY_ENDPOINT: "https://api.github.com/repos/neonlabsorg/neon-proxy.py"
PROXY_ENDPOINT: "https://api.github.com/repos/${{ github.repository_owner }}/neon-proxy.py"
NEON_TESTS_ENDPOINT: ${{vars.NEON_TESTS_ENDPOINT}}
DOCKERHUB_ORG_NAME: ${{vars.DOCKERHUB_ORG_NAME}}
RUN_LINK_REPO: "neonlabsorg/neon-proxy.py"
RUN_LINK_REPO: "${{ github.repository_owner }}/neon-proxy.py"
BUILD_URL: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"

concurrency:
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ARG SOLANA_IMAGE
ARG DOCKERHUB_ORG_NAME
# Install BPF SDK
FROM solanalabs/rust:1.75.0 AS builder
RUN cargo install rustfilt
Expand Down Expand Up @@ -31,7 +32,7 @@ RUN cargo fmt --check && \


# Add neon_test_invoke_program to the genesis
FROM neonlabsorg/neon_test_programs:latest AS neon_test_programs
FROM ${DOCKERHUB_ORG_NAME}/neon_test_programs:latest AS neon_test_programs

# Define solana-image that contains utility
FROM builder AS base
Expand Down

0 comments on commit e448ce0

Please sign in to comment.