diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 74d0a29ab3..5ca1fe0fce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/ci/release/hermes.Dockerfile b/ci/release/hermes.Dockerfile index 0f7c4fd391..92fcd24f22 100644 --- a/ci/release/hermes.Dockerfile +++ b/ci/release/hermes.Dockerfile @@ -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 diff --git a/scripts/release.sh b/scripts/release.sh index 479d0e38ea..697a4c054e 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -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}}