Skip to content

Commit

Permalink
Update archives.yml for 18.03
Browse files Browse the repository at this point in the history
  • Loading branch information
Joao Fernandes authored and gbarr01 committed Mar 22, 2018
1 parent 2274757 commit bb1b538
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ COPY --from=docs/docker.github.io:v1.13 ${TARGET} ${TARGET}
COPY --from=docs/docker.github.io:v17.03 ${TARGET} ${TARGET}
COPY --from=docs/docker.github.io:v17.06 ${TARGET} ${TARGET}
COPY --from=docs/docker.github.io:v17.09 ${TARGET} ${TARGET}
COPY --from=docs/docker.github.io:v17.12 ${TARGET} ${TARGET}

# Get the built docs output from the previous build stage
# This ordering means all previous layers can come from cache unless an archive
Expand All @@ -87,4 +88,4 @@ COPY --from=docs/docker.github.io:v17.09 ${TARGET} ${TARGET}
COPY --from=builder ${TARGET} ${TARGET}

# Serve the site (target), which is now all static HTML
CMD echo -e "Docker docs are viewable at:\nhttp://0.0.0.0:4000"; exec nginx -g 'daemon off;'
CMD echo -e "Docker docs are viewable at:\nhttp://0.0.0.0:4000"; exec nginx -g 'daemon off;'
5 changes: 4 additions & 1 deletion _data/docsarchive/archives.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
- archive:
name: v17.12
name: v18.03
image: docs/docker.github.io:latest
current: true
# When you make a new stable archive version, move the edge one to be second in
# the list. The image for edge should be the same as latest.
- archive:
name: edge
image: docs/docker.github.io:latest
- archive:
name: v17.12
image: docs/docker.github.io:v17.12
- archive:
name: v17.09
image: docs/docker.github.io:v17.09
Expand Down

0 comments on commit bb1b538

Please sign in to comment.