From 7683bc4efe24cbae746bd171ca453744f945bee0 Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Thu, 27 Oct 2022 15:14:50 +0200 Subject: [PATCH] Bump Rust, OPA and NodeJS in Docker image --- .github/workflows/ci.yaml | 16 ++++++++-------- Dockerfile | 6 +++--- crates/policy/policies/Makefile | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6fc08704..14087ecf 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -78,9 +78,9 @@ jobs: uses: actions/checkout@v3 - name: Setup OPA - uses: open-policy-agent/setup-opa@v1 + uses: open-policy-agent/setup-opa@v2.0.1 with: - version: 0.43.0 + version: 0.45.0 - name: Lint policies run: | @@ -174,9 +174,9 @@ jobs: uses: arduino/setup-protoc@v1 - name: Setup OPA - uses: open-policy-agent/setup-opa@v1 + uses: open-policy-agent/setup-opa@v2.0.1 with: - version: 0.40.0 + version: 0.45.0 - name: Compile OPA policies run: | @@ -255,9 +255,9 @@ jobs: uses: arduino/setup-protoc@v1 - name: Setup OPA - uses: open-policy-agent/setup-opa@v1 + uses: open-policy-agent/setup-opa@v2.0.1 with: - version: 0.40.0 + version: 0.45.0 - name: Compile OPA policies run: | @@ -339,9 +339,9 @@ jobs: uses: arduino/setup-protoc@v1 - name: Setup OPA - uses: open-policy-agent/setup-opa@v1 + uses: open-policy-agent/setup-opa@v2.0.1 with: - version: 0.40.0 + version: 0.45.0 - name: Compile OPA policies run: | diff --git a/Dockerfile b/Dockerfile index cbfc50dd..8dea7209 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,9 +12,9 @@ # The Debian version and version name must be in sync ARG DEBIAN_VERSION=11 ARG DEBIAN_VERSION_NAME=bullseye -ARG RUSTC_VERSION=1.63.0 -ARG NODEJS_VERSION=16 -ARG OPA_VERSION=0.43.0 +ARG RUSTC_VERSION=1.64.0 +ARG NODEJS_VERSION=18 +ARG OPA_VERSION=0.45.0 ## Build stage that builds the static files/frontend ## FROM --platform=${BUILDPLATFORM} docker.io/library/node:${NODEJS_VERSION}-${DEBIAN_VERSION_NAME}-slim AS static-files diff --git a/crates/policy/policies/Makefile b/crates/policy/policies/Makefile index 7ea32cb4..b0606c23 100644 --- a/crates/policy/policies/Makefile +++ b/crates/policy/policies/Makefile @@ -1,6 +1,6 @@ # Set to 1 to run OPA through Docker DOCKER := 0 -OPA_DOCKER_IMAGE := docker.io/openpolicyagent/opa:0.43.0 +OPA_DOCKER_IMAGE := docker.io/openpolicyagent/opa:0.45.0 ifeq ($(DOCKER), 0) OPA := opa