Skip to content

Commit

Permalink
Revert "Compile rust binaries outside of docker image and copy them in"
Browse files Browse the repository at this point in the history
This reverts commit bf3ba14.
  • Loading branch information
stijndcl committed Apr 19, 2024
1 parent 9d7fd8f commit 6c53c4a
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/build_debug_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ on:
push:
branches:
- 'dev/stijn-*'

env:
CACHE_KEY: CI

permissions:
packages: write
jobs:
Expand All @@ -36,19 +32,6 @@ jobs:
ghcr.io/unipept/stijn-thesis
tags: |
type=raw,value=stijn-debug-image
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- name: Setup Rust Cache
id: cache
uses: Swatinem/rust-cache@v2
with:
shared-key: ${{ env.CACHE_KEY }}
- name: Compile Rust binaries
run: |
git clone -b feature/postgres --depth 1 https://github.com/stijndcl/unipept-database/
bash ./unipept-database/scripts/build_binaries.sh
mkdir rust-binaries
find ./unipept-database/scripts/helper_scripts -maxdepth 1 -type f -executable -exec cp {} ./rust-binaries \;
- name: Build and push
uses: docker/build-push-action@v3
with:
Expand Down

0 comments on commit 6c53c4a

Please sign in to comment.