Skip to content

Commit

Permalink
dan/per-10181-release-a-new-opal-client-cedar-version (#605)
Browse files Browse the repository at this point in the history
* Added missing build steps for permitio/opal-client-cedar docker image

* Added missing test steps for permitio/opal-client-cedar docker image
  • Loading branch information
danyi1212 authored Jun 26, 2024
1 parent 00aea98 commit 0d34580
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,19 @@ jobs:
tags: |
permitio/opal-client:test
- name: Build client for testing
id: build_client
uses: docker/build-push-action@v4
with:
file: docker/Dockerfile
push: false
target: client-cedar
cache-from: type=registry,ref=permitio/opal-client-cedar:latest
cache-to: type=inline
load: true
tags: |
permitio/opal-client-cedar:test
- name: Build client-standalone for testing
id: build_client_standalone
uses: docker/build-push-action@v4
Expand Down Expand Up @@ -136,6 +149,21 @@ jobs:
permitio/opal-client:latest
permitio/opal-client:${{ env.opal_version_tag }}
- name: Build & Push client cedar
if: ${{ !(github.event_name == 'workflow_dispatch' && github.event.inputs.dry_run == 'true') }}
id: build_push_client_cedar
uses: docker/build-push-action@v4
with:
file: docker/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
target: client-cedar
cache-from: type=registry,ref=permitio/opal-client-cedar:latest
cache-to: type=inline
tags: |
permitio/opal-client-cedar:latest
permitio/opal-client-cedar:${{ env.opal_version_tag }}
- name: Build client-standalone
if: ${{ !(github.event_name == 'workflow_dispatch' && github.event.inputs.dry_run == 'true') }}
id: build_push_client_standalone
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,19 @@ jobs:
tags: |
permitio/opal-client:test
- name: Build client cedar
id: build_client
uses: docker/build-push-action@v2
with:
file: docker/Dockerfile
push: false
target: client-cedar
cache-from: type=registry,ref=permitio/opal-client-cedar:latest
cache-to: type=inline
load: true
tags: |
permitio/opal-client-cedar:test
- name: Build server
id: build_server
uses: docker/build-push-action@v2
Expand Down

0 comments on commit 0d34580

Please sign in to comment.