forked from nginx-proxy/nginx-proxy
-
Notifications
You must be signed in to change notification settings - Fork 4
ci: bump docker/build-push-action from 5 to 6 #134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dependabot
wants to merge
11
commits into
pini
Choose a base branch
from
dependabot/github_actions/docker/build-push-action-6
base: pini
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
ci: bump docker/build-push-action from 5 to 6 #134
dependabot
wants to merge
11
commits into
pini
from
dependabot/github_actions/docker/build-push-action-6
Conversation
This file contains hidden or 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
to prevent using a broken nginx configuration (e.g. in case of missing certificates)
Syntax:
VIRTUAL_PORT = [ <virtual_port> | <multiport> ];
multiport = port, { ",", port };
port = <virtual_port> [ ":", <virtual_path> [ ":", <virtual_dest> ]];
Example with multiport syntax:
VIRTUAL_HOST: "multiport.example.com"
VIRTUAL_PORT: "9220:~ ^/(admin|fonts?|images|webmin)/,10901,20901:/ws2p,30901:/gva/playground"
Produces:
# multiport.example.com:10901
upstream multiport.example.com-10901 {
# Exposed ports: [{ 10901 tcp } { 20901 tcp } { 30901 tcp } { 9220 tcp }]
# Default virtual port: 80
# VIRTUAL_PORT: 10901
## Can be connected with "docker-gen-bridge" network
# blah
server 172.29.0.5:10901;
}
# multiport.example.com:20901/ws2p
upstream multiport.example.com-5c7ebef820fe004e45e3af1d0c47971594d028b2-20901 {
# Exposed ports: [{ 10901 tcp } { 20901 tcp } { 30901 tcp } { 9220 tcp }]
# Default virtual port: 80
# VIRTUAL_PORT: 20901
## Can be connected with "docker-gen-bridge" network
# blah
server 172.29.0.5:20901;
}
# multiport.example.com:30901/gva/playground
upstream multiport.example.com-1f02ce2421b17d828edaabfc3014360891bb0be3-30901 {
# Exposed ports: [{ 10901 tcp } { 20901 tcp } { 30901 tcp } { 9220 tcp }]
# Default virtual port: 80
# VIRTUAL_PORT: 30901
## Can be connected with "docker-gen-bridge" network
# blah
server 172.29.0.5:30901;
}
# multiport.example.com:9220~ ^/(admin|fonts?|images|webmin)/
upstream multiport.example.com-cae8bfc2ea1fe6bb6fda08727ab065e8fed98aa2-9220 {
# Exposed ports: [{ 10901 tcp } { 20901 tcp } { 30901 tcp } { 9220 tcp }]
# Default virtual port: 80
# VIRTUAL_PORT: 9220
## Can be connected with "docker-gen-bridge" network
# blah
server 172.29.0.5:9220;
}
server {
server_name multiport.example.com;
access_log /var/log/nginx/access.log vhost;
listen 80 ;
location / {
proxy_pass http://multiport.example.com-10901;
}
location /ws2p {
proxy_pass http://multiport.example.com-5c7ebef820fe004e45e3af1d0c47971594d028b2-20901/;
}
location /gva/playground {
proxy_pass http://multiport.example.com-1f02ce2421b17d828edaabfc3014360891bb0be3-30901;
}
location ~ ^/(admin|fonts?|images|webmin)/ {
proxy_pass http://multiport.example.com-cae8bfc2ea1fe6bb6fda08727ab065e8fed98aa2-9220;
}
}
This feature is discussed in that upstream issue:
nginx-proxy#1504
VIRTUAL_HOST = host, { ",", host };
host = <virtual_host>, [ ":", <virtual_port> ];
Where <virtual_host> define one virtual host, and <virtual_port> one
virtual port.
For virtual hosts defined with a dedicated port (say app.example.com:1234),
the variable VIRTUAL_PORT is ignored and the dedicated port is used as
its virtual port.
Example:
VIRTUAL_HOST: "web.nginx-proxy.tld, web1.nginx-proxy.tld:84"
VIRTUAL_PORT: "80,81:/81:/,82:/82:/port,83:~ ^/[8][3]"
would generate a snippet like the one below for host web1:
# web1.nginx-proxy.tld
upstream web1.nginx-proxy.tld_84 {
# Exposed ports: [{ 80 tcp } { 81 tcp } { 82 tcp } { 83 tcp } { 84 tcp }]
# Default virtual port: 80
# VIRTUAL_PORT: 84
## Can be connected with "bridge" network
# test_multiport_syntax_web_1
server 172.17.0.2:84;
}
server {
server_name web1.nginx-proxy.tld;
listen 80 ;
access_log /var/log/nginx/access.log vhost;
location / {
proxy_pass http://web1.nginx-proxy.tld_84;
}
}
This allows forwarding SSL request directly to the upstream server via nginx TCP Stream. Example use case: nginx-proxy (80) ------> nginx (80) --------> application (8080) nginx-proxy (443) -----> nginx (443) -------> application (8080) (See nginx-proxy#929) Uses solution from: https://stackoverflow.com/questions/34741571/nginx-tcp-forwarding-based-on-hostname/40135151#40135151
Combined with the HTTPS passthrough feature this allow for easy chaining several nginx-proxy. Very usefull for testing when one has only one server to work with.
to use with HTTPS_METHOD=passthrough.
When file vhost.d/<virtual_host>_stream exists, generates this
snippet into nginx-stream.conf:
upstream <virtual_host> {
## Can be connected with <network> network
# Exposed ports: <exposed_ports>
# Default virtual port: <default_port>
# VIRTUAL_PORT: <virtual_port>
# <container_name>
server <server_ip>:<port>;
# Fallback entry
server 127.0.0.1:<port> down;
}
include /etc/nginx/vhost.d/<virtual_host>_stream;
The vhost.d/<virtual_host>_stream file can contain snippets such as:
server {
listen 127.0.0.1:<stream_port>;
proxy_upload_rate 5m;
proxy_pass <virtual_host>;
}
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](docker/build-push-action@v5...v6) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Author
|
The following labels could not be found: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps docker/build-push-action from 5 to 6.
Release notes
Sourced from docker/build-push-action's releases.
Commits
c382f71Merge pull request #1120 from crazy-max/build-summary5a5b70dchore: update generated contentdc24cf9don't generate summary for cloud driver667cb22DOCKER_BUILD_NO_SUMMARY env to disable summaryd880b19generate build summarye51051aexport build record and upload artifact86c2bd0Merge pull request #1137 from docker/dependabot/npm_and_yarn/braces-3.0.3268d2b1Merge pull request #1138 from docker/dependabot/npm_and_yarn/docker/actions-t...2b8dc7fchore: update generated content840c12bchore(deps): Bump@docker/actions-toolkitfrom 0.25.1 to 0.26.0Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)