Skip to content

Commit

Permalink
Publish v1.12 archive
Browse files Browse the repository at this point in the history
  • Loading branch information
johndmulhausen committed Feb 1, 2017
1 parent e749349 commit b547d91
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM starefossen/github-pages

ENV VERSIONS="v1.4 v1.5 v1.6 v1.7 v1.8 v1.9 v1.10 v1.11"
ENV VERSIONS="v1.4 v1.5 v1.6 v1.7 v1.8 v1.9 v1.10 v1.11 v1.12"

# Create archive; check out each version, create HTML, tweak links
RUN git clone https://www.github.com/docker/docker.github.io temp; \
Expand Down
4 changes: 4 additions & 0 deletions _data/docsarchive/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ v1.11:
image: docs/docker.github.io:v1.11
ports:
- "4111:4000"
v1.12:
image: docs/docker.github.io:v1.12
ports:
- "4112:4000"
2 changes: 2 additions & 0 deletions _data/toc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1819,4 +1819,6 @@ toc:
title: v1.10
- path: /v1.11
title: v1.11
- path: /v1.12
title: v1.12
path: /docsarchive/
6 changes: 3 additions & 3 deletions docsarchive.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ prior version of Docker was shipped.

## View the docs archives locally

The docs archive is published as a [Docker repository at docs/archive](https://hub.docker.com/r/docs/archive/tags/).
The docs archive is published as a [Docker Hub repository at docs/docker.github.io](https://hub.docker.com/r/docs/docker.github.io/tags/).
To see any of these versions, run the following command, changing
the tag from `v1.4` to any tag you see in [the repo](https://hub.docker.com/r/docs/archive/tags/):
the tag from `v1.4` to any tag you see in [the repo](https://hub.docker.com/r/docs/docker.github.io/tags/):

```shell
docker run -p 4000:4000 docs/archive:v1.4
docker run -p 4000:4000 docs/docker.github.io:v1.4
```

The docs for `v1.4` will then be viewable at `http://localhost:4000`.
Expand Down

0 comments on commit b547d91

Please sign in to comment.