1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-08-07 17:03:01 +03:00

Bump Rust, OPA and NodeJS in Docker image

This commit is contained in:
Quentin Gliech
2022-10-27 15:14:50 +02:00
parent 6c0de3c96d
commit 7683bc4efe
3 changed files with 12 additions and 12 deletions

View File

@@ -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: |

View File

@@ -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

View File

@@ -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