Skip to content

Commit

Permalink
chore: release fxcorevisor v7.1.0-rc1 (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
nulnut committed May 19, 2024
1 parent 326e367 commit 3f039b8
Show file tree
Hide file tree
Showing 16 changed files with 32 additions and 599 deletions.
45 changes: 0 additions & 45 deletions .github/workflows/fxcorevisor-docker-v1.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/fxcorevisor-docker-v2.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/fxcorevisor-docker-v3.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/fxcorevisor-docker-v4.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/fxcorevisor-docker-v5.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/fxcorevisor-docker-v6.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build and Push Fxcorevisor image
on:
push:
tags:
- "fxcorevisor/v7.*.*"
- "fxcorevisor/v*.*.*"

jobs:
push_to_registries:
Expand Down Expand Up @@ -38,8 +38,18 @@ jobs:
uses: docker/build-push-action@v3
with:
context: .
file: ./tools/cosmovisor/Dockerfile_v7
file: ./tools/cosmovisor/Dockerfile
push: true
platforms: linux/amd64, linux/arm64
tags: |
ghcr.io/functionx/fxcorevisor:${{ steps.meta.outputs.TAG }}
- name: Build and push lite images
uses: docker/build-push-action@v3
with:
context: .
file: ./tools/cosmovisor/Dockerfile_lite
push: true
platforms: linux/amd64, linux/arm64
tags: |
ghcr.io/functionx/fxcorevisor-lite:${{ steps.meta.outputs.TAG }}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ FROM functionx/fx-core:4.2.2 as fxv4_2
FROM functionx/fx-core:5.0.0 as fxv5
FROM functionx/fx-core:6.0.0 as fxv6
FROM functionx/fx-core:7.0.1-rc0 as fxv7
FROM functionx/fx-core:7.1.0-rc1 as fxv7_1

# build fxcorevisor
FROM alpine:3.18
Expand Down Expand Up @@ -49,7 +50,8 @@ RUN mkdir -p /cosmovisor/binary/genesis/bin && \
mkdir -p /cosmovisor/binary/upgrades/v4.2.x/bin && \
mkdir -p /cosmovisor/binary/upgrades/v5.0.x/bin && \
mkdir -p /cosmovisor/binary/upgrades/v6.0.x/bin && \
mkdir -p /cosmovisor/binary/upgrades/v7.0.x/bin
mkdir -p /cosmovisor/binary/upgrades/v7.0.x/bin && \
mkdir -p /cosmovisor/binary/upgrades/v7.1.x/bin

COPY --from=builder /app/tools/cosmovisor/upgrades-info/fxv2 /cosmovisor/upgrades-info
COPY --from=builder /app/tools/cosmovisor/upgrades-info/fxv3 /cosmovisor/upgrades-info
Expand All @@ -59,6 +61,7 @@ COPY --from=builder /app/tools/cosmovisor/upgrades-info/v4.2.x /cosmovisor/upgra
COPY --from=builder /app/tools/cosmovisor/upgrades-info/v5.0.x /cosmovisor/upgrades-info
COPY --from=builder /app/tools/cosmovisor/upgrades-info/v6.0.x /cosmovisor/upgrades-info
COPY --from=builder /app/tools/cosmovisor/upgrades-info/v7.0.x /cosmovisor/upgrades-info
COPY --from=builder /app/tools/cosmovisor/upgrades-info/v7.1.x /cosmovisor/upgrades-info

COPY --from=fxv1 /usr/bin/fxcored /cosmovisor/binary/genesis/bin
COPY --from=fxv2 /usr/bin/fxcored /cosmovisor/binary/upgrades/fxv2/bin
Expand All @@ -69,6 +72,7 @@ COPY --from=fxv4_2 /usr/bin/fxcored /cosmovisor/binary/upgrades/v4.2.x/bin
COPY --from=fxv5 /usr/bin/fxcored /cosmovisor/binary/upgrades/v5.0.x/bin
COPY --from=fxv6 /usr/bin/fxcored /cosmovisor/binary/upgrades/v6.0.x/bin
COPY --from=fxv7 /usr/bin/fxcored /cosmovisor/binary/upgrades/v7.0.x/bin
COPY --from=fxv7_1 /usr/bin/fxcored /cosmovisor/binary/upgrades/v7.1.x/bin

COPY --from=builder /app/tools/cosmovisor/cosmovisor /usr/bin/cosmovisor

Expand Down

0 comments on commit 3f039b8

Please sign in to comment.