Skip to content

Commit

Permalink
Simplify github action build
Browse files Browse the repository at this point in the history
  • Loading branch information
GnomedDev committed Oct 18, 2023
1 parent 430e300 commit cc985de
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 38 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
Expand Down
8 changes: 0 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@ WORKDIR /bot

RUN apt-get update && apt-get install -y cmake && apt-get clean

# This is a dummy build to get the dependencies cached.
COPY Cargo.toml Cargo.lock ./
RUN mkdir src && \
echo "// dummy file" > src/lib.rs && \
cargo build --release && \
rm -r src

# This is the actual build, copy in the rest of the sources
COPY . .
RUN cargo build --release

Expand Down
27 changes: 0 additions & 27 deletions Dockerfile-dev

This file was deleted.

0 comments on commit cc985de

Please sign in to comment.