Skip to content

Commit

Permalink
test gaia build from old image
Browse files Browse the repository at this point in the history
  • Loading branch information
chliddle committed Aug 21, 2024
1 parent ca05b40 commit ed9c94e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/cosmoshub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,17 @@ jobs:
- name: Manually pull the base Docker image
run: |
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
docker pull ghcr.io/p2p-org/cosmos-heighliner:infra-toolkit-${{ env.INFRA_TOOLKIT }}
docker pull ghcr.io/p2p-org/cosmos-heighliner:cosmoshub-v18.1.0
- name: Pull gaiad binary
run: |
cd temp/
wget https://github.com/cosmos/gaia/releases/download/v19.1.0/gaiad-v19.1.0-linux-amd64
- name: Build and push cosmoshub Docker image
run: |
./heighliner build -c gaia --git-ref ${{ env.VERSION }}
cd temp/
docker build -t gaia:${{ env.VERSION }}
- name: Tag and push Docker image
run: |
Expand Down
7 changes: 7 additions & 0 deletions temp/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM cosmos-heighliner:cosmoshub-v18.1.0

# Copy the new gaiad binary into the container
COPY ./gaiad-v19.1.0-linux-amd64 /bin/gaiad

# Ensure the binary is executable
RUN chmod +x /bin/gaiad

0 comments on commit ed9c94e

Please sign in to comment.