forked from eclipse-che/che-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update Dockerfile. (eclipse-che#2213)
Co-authored-by: Florent BENOIT <[email protected]>
- Loading branch information
Showing
14 changed files
with
392 additions
and
84 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# | ||
# Copyright (c) 2022 Red Hat, Inc. | ||
# This program and the accompanying materials are made | ||
# available under the terms of the Eclipse Public License 2.0 | ||
# which is available at https://www.eclipse.org/legal/epl-2.0/ | ||
# | ||
# SPDX-License-Identifier: EPL-2.0 | ||
# | ||
|
||
name: Build and publish container | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v1 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
- name: Login to docker.io | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
registry: docker.io | ||
- name: Login to quay.io | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.QUAY_USERNAME }} | ||
password: ${{ secrets.QUAY_PASSWORD }} | ||
registry: quay.io | ||
- name: Docker Build and Push | ||
run: | | ||
SHORT_SHA1=$(git rev-parse --short=7 HEAD) | ||
docker buildx build --platform linux/amd64 -f Dockerfile --push -t quay.io/eclipse/che-docs:${SHORT_SHA1} -t quay.io/eclipse/che-docs:next . |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,3 +40,4 @@ linkchecker-out.html | |
.local | ||
.yarnrc | ||
yarn.lock | ||
package.json |
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
.search-result-dropdown-menu { | ||
position: absolute; | ||
z-index: 100; | ||
display: block; | ||
right: 0; | ||
left: inherit; | ||
top: 100%; | ||
border-radius: 4px; | ||
margin: 6px 0 0; | ||
padding: 0; | ||
text-align: left; | ||
height: auto; | ||
background: transparent; | ||
border: none; | ||
max-width: 600px; | ||
min-width: 500px; | ||
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.2), 0 2px 3px 0 rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
@media screen and (max-width: 768px) { | ||
.search-result-dropdown-menu { | ||
min-width: calc(100vw - 3.75rem); | ||
} | ||
} | ||
|
||
.search-result-dataset { | ||
position: relative; | ||
border: 1px solid #d9d9d9; | ||
background: #fff; | ||
border-radius: 4px; | ||
overflow: auto; | ||
padding: 0 8px; | ||
max-height: calc(100vh - 5.25rem); | ||
line-height: 1.5; | ||
} | ||
|
||
.search-result-item { | ||
display: flex; | ||
margin: 0.5rem 0; | ||
} | ||
|
||
.search-result-document-title { | ||
width: 33%; | ||
border-right: 1px solid #ddd; | ||
color: #02060c; | ||
font-weight: 500; | ||
font-size: 0.8rem; | ||
padding: 0.5rem 0.5rem 0.5rem 0; | ||
text-align: right; | ||
position: relative; | ||
word-wrap: break-word; | ||
} | ||
|
||
.search-result-document-hit { | ||
flex: 1; | ||
font-size: 0.75rem; | ||
color: #63676d; | ||
} | ||
|
||
.search-result-document-hit > a { | ||
color: inherit; | ||
display: block; | ||
padding: 0.55rem 0.25rem 0.55rem 0.75rem; | ||
} | ||
|
||
.search-result-document-hit > a:hover { | ||
background-color: rgba(69, 142, 225, 0.05); | ||
} | ||
|
||
.search-result-highlight { | ||
color: #174d8c; | ||
background: rgba(143, 187, 237, 0.1); | ||
padding: 0.1em 0.05em; | ||
font-weight: 500; | ||
} | ||
|
Oops, something went wrong.