-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial changes from gluu to jans (#2)
* initial changes from gluu to jans * move oxauth to auth-server * Update release.yaml * switch to jans-auth-server * Change envs prefix from JANS to CLOUD_NATIVE * Change envs prefix to CN * initial working image * sync manifests * update manifests * update jans-pycloudlib * Update scanimage.yml * bump Jython's pip to v19.2 * Add non root user #3 * fix refs #3 * update jans-pycloudlib * copy custom jar from share directory * install latest cryptography * Update war * sync manifests * update dependencies * chore(dockerfile): update build date * docs: update reference in README * feat(build-date): Update build date * feat(build-date): update build date * feat(build-date): update build date * feat(Dockerfile): update build date * fix(healthcheck): update health endpoint * ci(autobuilds): Fix repos and commit settings * ci(autobuilds): Add jans-config-api * feat(Dockerfile): Updated build date Co-authored-by: mogluu <[email protected]> Co-authored-by: iromli <[email protected]>
- Loading branch information
1 parent
25765e7
commit 71e7aa0
Showing
28 changed files
with
294 additions
and
334 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
name: Scan Image | ||
on: [workflow_dispatch] | ||
on: [push] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build the Docker image | ||
run: docker build . --file Dockerfile --tag local/scanimage:latest | ||
- name: Build the Container image | ||
run: docker build . --file Dockerfile --tag localbuild/scanimage:latest | ||
- uses: anchore/scan-action@v2 | ||
id: scan | ||
with: | ||
image: "local/scanimage:latest" | ||
fail-build: true | ||
- name: anchore inline scan JSON results | ||
run: for j in `ls ./anchore-reports/*.json`; do echo "---- ${j} ----"; cat ${j}; echo; done | ||
image: "localbuild/scanimage:latest" | ||
acs-report-enable: true | ||
- name: upload Anchore scan SARIF report | ||
uses: github/codeql-action/upload-sarif@v1 | ||
with: | ||
sarif_file: results.sarif | ||
- uses: azure/container-scan@v0 | ||
with: | ||
image-name: local/scanimage:latest | ||
# Add Serif report once Code Scanner is out of beta stage | ||
image-name: localbuild/scanimage:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
JANS_VERSION=4.2.2 | ||
IMAGE_NAME=gluufederation/oxauth | ||
CN_VERSION=5.0.0 | ||
IMAGE_NAME=janssenproject/auth-server | ||
UNSTABLE_VERSION=dev | ||
|
||
build-dev: | ||
@echo "[I] Building Docker image ${IMAGE_NAME}:${JANS_VERSION}_${UNSTABLE_VERSION}" | ||
@docker build --rm --force-rm -t ${IMAGE_NAME}:${JANS_VERSION}_${UNSTABLE_VERSION} . | ||
@echo "[I] Building Docker image ${IMAGE_NAME}:${CN_VERSION}_${UNSTABLE_VERSION}" | ||
@docker build --rm --force-rm -t ${IMAGE_NAME}:${CN_VERSION}_${UNSTABLE_VERSION} . | ||
|
||
trivy-scan: | ||
@echo "[I] Scanning Docker image ${IMAGE_NAME}:${JANS_VERSION}_${UNSTABLE_VERSION} using trivy" | ||
@trivy -d image ${IMAGE_NAME}:${JANS_VERSION}_${UNSTABLE_VERSION} | ||
@echo "[I] Scanning Docker image ${IMAGE_NAME}:${CN_VERSION}_${UNSTABLE_VERSION} using trivy" | ||
@trivy -d image ${IMAGE_NAME}:${CN_VERSION}_${UNSTABLE_VERSION} | ||
|
||
dockle-scan: | ||
@echo "[I] Scanning Docker image ${IMAGE_NAME}:${JANS_VERSION}_${UNSTABLE_VERSION} using dockle" | ||
@dockle -d ${IMAGE_NAME}:${JANS_VERSION}_${UNSTABLE_VERSION} | ||
@echo "[I] Scanning Docker image ${IMAGE_NAME}:${CN_VERSION}_${UNSTABLE_VERSION} using dockle" | ||
@dockle -d ${IMAGE_NAME}:${CN_VERSION}_${UNSTABLE_VERSION} |
Oops, something went wrong.