Skip to content

Commit

Permalink
changed: branch name from http3 to main - that's all
Browse files Browse the repository at this point in the history
  • Loading branch information
ammnt committed Apr 19, 2024
1 parent 8a3c079 commit f803fab
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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💊
Expand All @@ -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

Expand All @@ -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' }}
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Distroless FreeNGINX with HTTP/3 and QUIC support🚀

The Docker image is ready to use:<br>
<code>docker run -d --rm -p 127.0.0.1:8080:8080/tcp ghcr.io/ammnt/freenginx:http3</code><br>
<code>docker run -d --rm -p 127.0.0.1:8080:8080/tcp ghcr.io/ammnt/freenginx:main</code><br>
or<br>
<code>docker run -d --rm -p 127.0.0.1:8080:8080/tcp ammnt/freenginx:http3</code>
<code>docker run -d --rm -p 127.0.0.1:8080:8080/tcp ammnt/freenginx:main</code>

# Description:

Expand Down

0 comments on commit f803fab

Please sign in to comment.