Skip to content

Commit

Permalink
fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Feb 4, 2025
1 parent 780e172 commit 8d3ccdf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ jobs:
- name: Create dev manifest list and push
working-directory: ${{ runner.temp }}/digests/dev
run: |
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON" | sed 's/"$/-dev"/' ) \
$(printf '${{ env.GHCR_REPO }}-dev@sha256:%s ' *)
docker buildx imagetools create $(jq -cr '.tags | map("-t " + . + "-dev") | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf '${{ env.GHCR_REPO }}@sha256:%s ' *)
- name: Inspect images
run: |
docker buildx imagetools inspect ${{ env.GHCR_REPO }}:${{ steps.meta.outputs.version }}
docker buildx imagetools inspect ${{ env.GHCR_REPO }}-dev:${{ steps.meta.outputs.version }}
docker buildx imagetools inspect ${{ env.GHCR_REPO }}:${{ steps.meta.outputs.version }}-dev
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ RUN apt-get update && apt-get install -y cmake clang

ARG VERSION=main
RUN git clone --depth=1 --branch ${VERSION} https://github.com/MystenLabs/sui
WORKDIR "$WORKDIR/sui"
WORKDIR /sui

ARG PROFILE=release
RUN cargo build --profile ${PROFILE} --bin sui

FROM debian:bullseye-slim AS runtime
RUN apt-get update && apt-get install -y ca-certificates curl
WORKDIR "$WORKDIR/sui"
WORKDIR /sui
COPY --from=builder /sui/target/release/sui /usr/local/bin

# Development Image
Expand Down

0 comments on commit 8d3ccdf

Please sign in to comment.