Skip to content

Commit

Permalink
Post-release CI fixes (informalsystems#2797)
Browse files Browse the repository at this point in the history
  • Loading branch information
romac authored Nov 2, 2022
1 parent 62d18d0 commit 05f37f9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ jobs:

upload-assets:
strategy:
fail-fast: false
matrix:
config:
- { os: ubuntu-latest, target: x86_64-unknown-linux-gnu }
- { os: ubuntu-latest, target: aarch64-unknown-linux-gnu }
- { os: macos-latest, target: x86_64-apple-darwin }
- { os: macos-latest, target: x86_64-apple-darwin }
runs-on: ${{ matrix.config.os }}
steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions ci/release/hermes.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ RUN cd hermes && git checkout $TAG && cargo build --release
FROM debian:buster-slim
LABEL maintainer="hello@informal.systems"

RUN apt update && apt install -y libssl-dev

RUN useradd -m hermes -s /bin/bash
WORKDIR /home/hermes
USER hermes:hermes
ENTRYPOINT ["/usr/bin/hermes"]

COPY --chown=0:0 --from=build-env /usr/lib/x86_64-linux-gnu/libssl.so.1.1 /usr/lib/x86_64-linux-gnu/libssl.so.1.1
COPY --chown=0:0 --from=build-env /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
COPY --chown=0:0 --from=build-env /root/hermes/target/release/hermes /usr/bin/hermes
COPY --chown=0:0 --from=build-env /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ set -e
# A space-separated list of all the crates we want to publish, in the order in
# which they must be published. It's important to respect this order, since
# each subsequent crate depends on one or more of the preceding ones.
DEFAULT_CRATES="ibc-relayer-types ibc-telemetry ibc-relayer ibc-relayer-rest ibc-relayer-cli ibc-test-framework"
DEFAULT_CRATES="ibc-relayer-types ibc-telemetry ibc-relayer ibc-relayer-rest ibc-chain-registry ibc-relayer-cli ibc-test-framework"

# Allows us to override the crates we want to publish.
CRATES=${*:-${DEFAULT_CRATES}}
Expand Down

0 comments on commit 05f37f9

Please sign in to comment.