Merge pull request #4993 from qiuming-best/pin-images
Pin the base and golang images for v1.9.0 release and add explanation for gen-docspull/4997/head
commit
99b7f8f679
|
@ -11,7 +11,7 @@
|
|||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
FROM --platform=$BUILDPLATFORM golang:1.17 as builder-env
|
||||
FROM --platform=$BUILDPLATFORM golang:1.17.11 as builder-env
|
||||
|
||||
ARG GOPROXY
|
||||
ARG PKG
|
||||
|
@ -50,7 +50,7 @@ RUN mkdir -p /output/usr/bin && \
|
|||
go build -o /output/${BIN} \
|
||||
-ldflags "${LDFLAGS}" ${PKG}/cmd/${BIN}
|
||||
|
||||
FROM gcr.io/distroless/base-debian11:nonroot
|
||||
FROM gcr.io/distroless/base-debian11@sha256:e672eb713e56feb13e349773973b81b1b9284f70b15cf18d1a09ad31a03abe59
|
||||
|
||||
LABEL maintainer="Nolan Brubaker <brubakern@vmware.com>"
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
FROM golang:1.17
|
||||
FROM golang:1.17.11
|
||||
|
||||
ARG GOPROXY
|
||||
|
||||
|
|
|
@ -67,7 +67,9 @@ For each major or minor release, create and publish a blog post to let folks kno
|
|||
- Run `make gen-docs`, passing the appropriate variables. Examples:
|
||||
a) `VELERO_VERSION=v1.5.0-rc.1 NEW_DOCS_VERSION=v1.5.0-rc.1 make gen-docs`.
|
||||
b) `VELERO_VERSION=v1.5.0 NEW_DOCS_VERSION=v1.5 make gen-docs`).
|
||||
- Note: `PREVIOUS_DOCS_VERSION=<doc-version-to-copy-from>` is optional; when not set, it will default to the latest doc version.
|
||||
- Note:
|
||||
- `PREVIOUS_DOCS_VERSION=<doc-version-to-copy-from>` is optional; when not set, it will default to the latest doc version.
|
||||
- `VELERO_VERSION` and `NEW_DOCS_VERSION` are slightly different, the `VELERO_VERSION` may have lots of small release versions for one specific $major.minor, such as 'v1.5.0' and 'v1.5.1', but `NEW_DOCS_VERSION` may still be 'v1.5' for not document update.
|
||||
1. Clean up when there is an existing set of pre-release versioned docs for the version you are releasing
|
||||
- Example: `site/content/docs/v1.5.0-beta.1` exists, and you're releasing `v1.5.0-rc.1` or `v1.5`
|
||||
- Remove the directory containing the pre-release docs, i.e. `site/content/docs/<pre-release-version>`.
|
||||
|
|
Loading…
Reference in New Issue