File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 4040 secrets :
4141 app_id : ${{ secrets.APP_ID }}
4242 app_private_key : ${{ secrets.APP_PRIVATE_KEY }}
43+
44+ build-and-push-integration-test :
45+ needs :
46+ - release
47+ uses : propeller-heads/ci-cd-templates/.github/workflows/build-and-push-docker-image.yaml@main
48+ permissions :
49+ id-token : write
50+ contents : read
51+ with :
52+ image_tag : ${{ needs.release.outputs.next_release_version }}
53+ image_name : tycho-integration-test
54+ dockerfile_path : Dockerfile.integration-test
55+ secrets :
56+ app_id : ${{ secrets.APP_ID }}
57+ app_private_key : ${{ secrets.APP_PRIVATE_KEY }}
58+ role_to_assume : ${{ secrets.ROLE_TO_ASSUME }}
59+ aws_region : ${{ secrets.AWS_REGION }}
60+ repository_url : ${{ secrets.REPOSITORY_URL }}
61+ domain_owner : ${{ secrets.DOMAIN_OWNER }}
Original file line number Diff line number Diff line change 1+ FROM rust:1.82-bookworm AS builder
2+ WORKDIR /build
3+ COPY . .
4+ RUN cargo build --release --package tycho-integration-test
5+
6+ FROM debian:bookworm-slim
7+ WORKDIR /opt/tycho-integration-test
8+ COPY --from=builder /build/target/release/tycho-integration-test ./tycho-integration-test
9+ RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
10+ CMD ["./tycho-integration-test"]
You can’t perform that action at this time.
0 commit comments