File tree Expand file tree Collapse file tree 4 files changed +82
-5
lines changed Expand file tree Collapse file tree 4 files changed +82
-5
lines changed Original file line number Diff line number Diff line change 11---
22name : build and push latest
33
4+ # -----------------
5+ # Control variables (GitHub Secrets)
6+ # -----------------
7+ #
8+ # At the GitHub 'organisation' or 'project' level you must have the following
9+ # GitHub 'Repository Secrets' defined (i.e. via 'Settings -> Secrets'): -
10+ #
11+ # DOCKERHUB_USERNAME
12+ # DOCKERHUB_TOKEN
13+ #
14+ # -----------
15+ # Environment (GitHub Environments)
16+ # -----------
17+ #
18+ # Environment (none)
19+ #
20+ # For automated deployment we expect the following in the environment: -
21+ #
22+ # (none)
23+
24+
425on :
526 push :
627 branches :
Original file line number Diff line number Diff line change 22name : build and push stable
33
44# Actions for an 'official' tag.
5-
6- # An official tag is a 3-digit value (i.e. 'N.N.N ').
5+ #
6+ # An official tag is a 2 or 3-digit value (i.e. 'N.N[.N] ').
77# We publish images using the tag as a tag and one using 'stable' as s tag.
88
9+ # -----------------
10+ # Control variables (GitHub Secrets)
11+ # -----------------
12+ #
13+ # At the GitHub 'organisation' or 'project' level you must have the following
14+ # GitHub 'Repository Secrets' defined (i.e. via 'Settings -> Secrets'): -
15+ #
16+ # DOCKERHUB_USERNAME
17+ # DOCKERHUB_TOKEN
18+ #
19+ # -----------
20+ # Environment (GitHub Environments)
21+ # -----------
22+ #
23+ # Environment (none)
24+ #
25+ # For automated deployment we expect the following in the environment: -
26+ #
27+ # (none)
28+
929on :
1030 push :
1131 tags :
1232 - ' [0-9]+.[0-9]+.[0-9]+'
33+ - ' [0-9]+.[0-9]+'
1334
1435jobs :
1536 push-stable :
Original file line number Diff line number Diff line change 22name : build and push tag
33
44# Actions for any 'unofficial' tag.
5+ #
6+ # It's not an official tag if it's not formed from 2 or 3 digits
7+ # (i.e. is not 'N.N[.N]'). We publish images using the tag as a tag.
58
6- # It's not an official tag if it's not formed from three digits
7- # (i.e. is not 'N.N.N').
8- # We publish images using the tag as a tag.
9+ # -----------------
10+ # Control variables (GitHub Secrets)
11+ # -----------------
12+ #
13+ # At the GitHub 'organisation' or 'project' level you must have the following
14+ # GitHub 'Repository Secrets' defined (i.e. via 'Settings -> Secrets'): -
15+ #
16+ # DOCKERHUB_USERNAME
17+ # DOCKERHUB_TOKEN
18+ #
19+ # -----------
20+ # Environment (GitHub Environments)
21+ # -----------
22+ #
23+ # Environment (none)
24+ #
25+ # For automated deployment we expect the following in the environment: -
26+ #
27+ # (none)
928
1029on :
1130 push :
1231 tags :
1332 - ' **'
33+ - ' ![0-9]+.[0-9]+'
1434 - ' ![0-9]+.[0-9]+.[0-9]+'
1535
1636jobs :
Original file line number Diff line number Diff line change @@ -6,6 +6,21 @@ name: build
66# Here we build container images but don't push them
77# and therefore do not require docker credentials.
88
9+ # -----------------
10+ # Control variables (GitHub Secrets)
11+ # -----------------
12+ #
13+ # At the GitHub 'organisation' or 'project' level you must have the following
14+ # GitHub 'Repository Secrets' defined (i.e. via 'Settings -> Secrets'): -
15+ #
16+ # (none)
17+ #
18+ # -----------
19+ # Environment (GitHub Environments)
20+ # -----------
21+ #
22+ # Environment (none)
23+
924on :
1025 push :
1126 branches-ignore :
You can’t perform that action at this time.
0 commit comments