-
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.
changed: branch name from http3 to main - that's all
- Loading branch information
Showing
2 changed files
with
11 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,9 @@ on: | |
# schedule: | ||
# - cron: "00 17 * * SAT" | ||
push: | ||
branches: ["http3"] | ||
branches: ["main"] | ||
# pull_request: | ||
# branches: ["http3"] | ||
# branches: ["main"] | ||
|
||
env: | ||
REGISTRY: ghcr.io | ||
|
@@ -72,16 +72,16 @@ jobs: | |
env: | ||
DSLIM_HTTP_PROBE: false | ||
with: | ||
target: ghcr.io/ammnt/freenginx:http3 | ||
tag: ghcr.io/ammnt/freenginx:http3 | ||
target: ghcr.io/ammnt/freenginx:main | ||
tag: ghcr.io/ammnt/freenginx:main | ||
overwrite: true | ||
- run: echo "${REPORT}" | ||
env: | ||
REPORT: ${{ steps.slim.outputs.report }} | ||
|
||
- name: Test the Docker image🧪 | ||
run: | | ||
docker run -d --rm -p 127.0.0.1:8080:8080/tcp ghcr.io/ammnt/freenginx:http3 | ||
docker run -d --rm -p 127.0.0.1:8080:8080/tcp ghcr.io/ammnt/freenginx:main | ||
curl -v http://127.0.0.1:8080 || exit 1 | ||
- name: Analyze for critical and high CVEs💊 | ||
|
@@ -90,7 +90,7 @@ jobs: | |
uses: docker/[email protected] | ||
with: | ||
command: cves,sbom | ||
image: ghcr.io/ammnt/freenginx:http3 | ||
image: ghcr.io/ammnt/freenginx:main | ||
sarif-file: sarif.output.json | ||
summary: true | ||
|
||
|
@@ -103,9 +103,9 @@ jobs: | |
|
||
- name: Push the Docker images to registries💾 | ||
run: | | ||
docker push ghcr.io/ammnt/freenginx:http3 | ||
docker tag ghcr.io/ammnt/freenginx:http3 ammnt/freenginx:http3 | ||
docker push ammnt/freenginx:http3 | ||
docker push ghcr.io/ammnt/freenginx:main | ||
docker tag ghcr.io/ammnt/freenginx:main ammnt/freenginx:main | ||
docker push ammnt/freenginx:main | ||
- name: Sign the published Docker image🔐 | ||
if: ${{ github.event_name != 'pull_request' }} | ||
|
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