Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new image deployment repo #1620

Merged
merged 2 commits into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/release-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- prereleased
- published
env:
IMAGE_NAME: paritytech/contracts-verifiable
IMAGE_NAME: useink/contracts-verifiable

jobs:
push_to_registry:
Expand All @@ -34,7 +34,7 @@ jobs:
file: ./build-image/Dockerfile
push: true
build-args: |
CARGO_CONTRACT_GIT=https://github.com/paritytech/cargo-contract
CARGO_CONTRACT_GIT=https://github.com/use-ink/cargo-contract
CARGO_CONTRACT_BRANCH=master
tags: |
${{ env.IMAGE_NAME }}:master
Expand All @@ -56,6 +56,6 @@ jobs:
file: ./build-image/Dockerfile
push: true
build-args: |
CARGO_CONTRACT_GIT=https://github.com/paritytech/cargo-contract
CARGO_CONTRACT_GIT=https://github.com/use-ink/cargo-contract
CARGO_CONTRACT_TAG=${{ github.event.release.tag_name }}
tags: ${{ env.IMAGE_NAME }}:${{ env.DOCKER_TAG }}
30 changes: 15 additions & 15 deletions build-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,24 @@ ARG MUSL_V=1.2.2-1
ARG RUST_LINTER_VERSION=nightly-2024-02-08

# metadata
LABEL io.parity.image.vendor="Parity Technologies" \
io.parity.image.title="paritytech/contracts-verifiable" \
io.parity.image.description="Inherits from docker.io/bitnami/minideb:bullseye. \
LABEL ink.use.image.vendor="Use Ink" \
ink.use.image.title="useink/contracts-verifiable" \
ink.use.image.description="Inherits from docker.io/bitnami/minideb:bullseye. \
rust nightly, clippy, rustfmt, miri, rust-src, rustc-dev, grcov, rust-covfix, \
llvm-tools-preview, cargo-contract, xargo, binaryen, parallel, codecov, ink, solang" \
io.parity.image.documentation="https://github.com/paritytech/cargo-contract/blob/master/\
ink.use.image.documentation="https://github.com/use-ink/cargo-contract/blob/master/\
build-image/README.md" \
io.parity.version.rust=${RUST_VERSION} \
io.parity.version.cargo-contract.version=${CARGO_CONTRACT_VERSION} \
io.parity.version.cargo-contract.git.repository=${CARGO_CONTRACT_GIT} \
io.parity.version.cargo-contract.git.branch=${CARGO_CONTRACT_BRANCH} \
io.parity.version.cargo-contract.git.revision=${CARGO_CONTRACT_REV} \
io.parity.version.cargo-contract.git.tag=${CARGO_CONTRACT_TAG} \
io.parity.version.gcc=${GCC_VERSION} \
io.parity.version.wget=${WGET_VERSION} \
io.parity.version.g_plus_plus=${G_VERSION} \
io.parity.version.musl=${MUSL_V} \
io.parity.version.rust_linter=${RUST_LINTER_VERSION}
ink.use.version.rust=${RUST_VERSION} \
ink.use.version.cargo-contract.version=${CARGO_CONTRACT_VERSION} \
ink.use.version.cargo-contract.git.repository=${CARGO_CONTRACT_GIT} \
ink.use.version.cargo-contract.git.branch=${CARGO_CONTRACT_BRANCH} \
ink.use.version.cargo-contract.git.revision=${CARGO_CONTRACT_REV} \
ink.use.version.cargo-contract.git.tag=${CARGO_CONTRACT_TAG} \
ink.use.version.gcc=${GCC_VERSION} \
ink.use.version.wget=${WGET_VERSION} \
ink.use.version.g_plus_plus=${G_VERSION} \
ink.use.version.musl=${MUSL_V} \
ink.use.version.rust_linter=${RUST_LINTER_VERSION}

ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
Expand Down
Loading