Skip to content

Commit

Permalink
Updated rust version for OPAL Cedar Client docker
Browse files Browse the repository at this point in the history
  • Loading branch information
danyi1212 committed Jul 22, 2024
1 parent 5f01375 commit 6ae6b18
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,22 +150,6 @@ jobs:
permitio/opal-server:latest
permitio/opal-server:${{ env.opal_version_tag }}
- name: Check if cedar-agent directory exists
id: check_cedar_agent
run: |
if [ -d "cedar-agent" ]; then
echo "exists=true" >> $GITHUB_ENV
else
echo "exists=false" >> $GITHUB_ENV
fi
- name: Clone cedar-agent repository
if: steps.check_cedar_agent.outputs.exists == 'false'
id: clone_cedar_agent
working-directory: .
run: |
git clone https://github.com/permitio/cedar-agent.git cedar-agent
- name: Build & Push client cedar
id: build_push_client_cedar
uses: docker/build-push-action@v4
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN pip install --no-cache-dir --upgrade pip && pip install --no-cache-dir -r ./
# CEDAR AGENT BUILD STAGE ---------------------------
# split this stage to save time and reduce image size
# ---------------------------------------------------
FROM rust:1.69.0 as cedar-builder
FROM rust:1.77-bullseye as cedar-builder
COPY cedar-agent /tmp/cedar-agent/
ARG cargo_flags="--release"
RUN cd /tmp/cedar-agent
Expand Down

0 comments on commit 6ae6b18

Please sign in to comment.