Skip to content

Commit

Permalink
tweak: name scrypto-builder docker file target
Browse files Browse the repository at this point in the history
  • Loading branch information
azizi-a committed Nov 29, 2024
1 parent c0d74bf commit b77cf53
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-scrypto-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
tag: ${{ needs.tags.outputs.tag }}
context: "."
dockerfile: "Dockerfile"
target: "scrypto-builder"
platforms: "linux/amd64"
provenance: "false"
scan_image: true
Expand Down Expand Up @@ -74,8 +75,7 @@ jobs:

- uses: RDXWorks-actions/checkout@main
- name: Pull scrypto-builder docker image
run:
DOCKER_DEFAULT_PLATFORM=linux/amd64 docker pull radixdlt/private-scrypto-builder:${{ needs.tags.outputs.tag }}
run: DOCKER_DEFAULT_PLATFORM=linux/amd64 docker pull radixdlt/private-scrypto-builder:${{ needs.tags.outputs.tag }}
- name: Build scrypto example using scrypto-builder
run: |
cp -r examples/everything test_package
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-scrypto-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
tag: ${{ inputs.image-label }}
context: "."
dockerfile: "Dockerfile"
target: "scrypto-builder"
platforms: "linux/amd64"
provenance: "false"
scan_image: true
snyk_target_ref: ${{ github.ref_name }}
enable_dockerhub: true
secrets:
role_to_assume: ${{ secrets.DOCKERHUB_RELEASER_ROLE }}

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ COPY --from=builder /app/target/release/rtmc /usr/local/bin/rtmc
COPY --from=builder /app/target/release/rtmd /usr/local/bin/rtmd
RUN rustup target add wasm32-unknown-unknown

FROM base-image
FROM base-image AS scrypto-builder
COPY --from=builder /app/target/release/scrypto /usr/local/bin/scrypto
RUN rustup target add wasm32-unknown-unknown
WORKDIR /src
Expand Down

0 comments on commit b77cf53

Please sign in to comment.