Attempt to fix build with ignore rules
Some checks failed
Build and Publish / Build and Test (push) Failing after 11m55s
Some checks failed
Build and Publish / Build and Test (push) Failing after 11m55s
This commit is contained in:
parent
4b2f0f3bf7
commit
35fd2b90d2
@ -28,6 +28,7 @@
|
|||||||
**/values.dev.yaml
|
**/values.dev.yaml
|
||||||
/bin
|
/bin
|
||||||
/target
|
/target
|
||||||
|
!/target/**/monzo-ingestion
|
||||||
/.idea
|
/.idea
|
||||||
LICENSE
|
LICENSE
|
||||||
README.md
|
README.md
|
||||||
|
|||||||
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -78,9 +78,9 @@ jobs:
|
|||||||
target/release/${{ env.RUST_BINARY_NAME }}
|
target/release/${{ env.RUST_BINARY_NAME }}
|
||||||
target/aarch64-unknown-linux-musl/release/${{ env.RUST_BINARY_NAME }}
|
target/aarch64-unknown-linux-musl/release/${{ env.RUST_BINARY_NAME }}
|
||||||
|
|
||||||
# The target directory is kept in the .dockerignore file, so allow these to be copied in we need to move them to a
|
# # The target directory is kept in the .dockerignore file, so allow these to be copied in we need to move them to a
|
||||||
# new directory.
|
# # new directory.
|
||||||
- run: mv target docker-binaries
|
# - run: mv target docker-binaries
|
||||||
|
|
||||||
- name: Build and push multi-arch Docker image
|
- name: Build and push multi-arch Docker image
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
|
|||||||
@ -2,7 +2,7 @@ FROM --platform=$BUILDPLATFORM debian:bullseye-slim AS builder
|
|||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
ARG BINARY_NAME
|
ARG BINARY_NAME
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY /target /app/target
|
||||||
RUN case "$TARGETPLATFORM" in \
|
RUN case "$TARGETPLATFORM" in \
|
||||||
"linux/amd64") BINARY_PATH="target/release/${BINARY_NAME}" ;; \
|
"linux/amd64") BINARY_PATH="target/release/${BINARY_NAME}" ;; \
|
||||||
"linux/arm64") BINARY_PATH="target/aarch64-unknown-linux-gnu/release/${BINARY_NAME}" ;; \
|
"linux/arm64") BINARY_PATH="target/aarch64-unknown-linux-gnu/release/${BINARY_NAME}" ;; \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user