forked from radiantearth/stac-browser
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from EOEPCA/upstream
Update STAC Browser
- Loading branch information
Showing
88 changed files
with
20,076 additions
and
505 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# *nix shell scripts always use LF (see .editorconfig) | ||
*.sh eol=lf |
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -1,10 +1,12 @@ | ||
* @m-mohr | ||
Dockerfile @waystilos @geospatial-jeff | ||
docker/ @waystilos @geospatial-jeff @constantinius | ||
Dockerfile @waystilos @geospatial-jeff @constantinius | ||
src/locales/de-CH @p1d1d1 | ||
src/locales/es @rnanclares | ||
src/locales/fr @jfbourgon | ||
src/locales/fr-CA @jfbourgon | ||
src/locales/fr-CH @p1d1d1 | ||
src/locales/it @p1d1d1 | ||
src/locales/it-CH @p1d1d1 | ||
src/locales/ro @mneagul | ||
src/locales/ro @mneagul | ||
src/locales/pt @uba |
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,62 @@ | ||
name: Publish | ||
|
||
on: | ||
release: | ||
types: [released] | ||
workflow_dispatch: | ||
inputs: | ||
TAG_NAME: | ||
description: "Tag name" | ||
required: true | ||
|
||
env: | ||
REGISTRY: ghcr.io | ||
TAG_NAME: ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} | ||
|
||
jobs: | ||
retag-docker-image: | ||
runs-on: ubuntu-latest | ||
name: Push updated Docker image | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set environment variables | ||
run: | | ||
echo VERSION=${TAG_NAME#v} >> $GITHUB_ENV | ||
echo IMAGE_NAME=$REGISTRY/$(echo ${GITHUB_REPOSITORY,,}) >> $GITHUB_ENV | ||
echo COMMITED_AT=$(git show -s --format=%cI `git rev-parse HEAD`) >> $GITHUB_ENV | ||
echo REVISION=$(git rev-parse --short HEAD) >> $GITHUB_ENV | ||
- name: Collect Docker image metadata | ||
id: meta | ||
uses: docker/metadata-action@v5 | ||
with: | ||
images: ${{ env.IMAGE_NAME }} | ||
labels: | | ||
org.opencontainers.image.created=${{ env.COMMITED_AT }} | ||
org.opencontainers.image.version=v${{ env.VERSION }} | ||
org.opencontainers.image.maintainer=$({github.repository_owner}) | ||
tags: | | ||
type=semver,pattern={{version}},value=v${{ env.VERSION }} | ||
- name: Log in to the GitHub container registry | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build and push Docker image | ||
uses: docker/build-push-action@v5 | ||
with: | ||
context: . | ||
push: true | ||
build-args: | | ||
VERSION=${{ env.VERSION }} | ||
REVISION=${{ env.REVISION }} | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
cache-from: type=registry,ref=${{ env.IMAGE_NAME }}:edge | ||
cache-to: type=inline |
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 |
---|---|---|
@@ -1,29 +1,28 @@ | ||
.DS_Store | ||
.cache/ | ||
node_modules | ||
/dist | ||
|
||
|
||
# local env files | ||
.env | ||
.env.local | ||
.env.*.local | ||
|
||
# lock files | ||
/yarn.lock | ||
/package-lock.json | ||
|
||
# Log files | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
|
||
# Editor directories and files | ||
.idea | ||
.vscode | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
.DS_Store | ||
.cache/ | ||
node_modules | ||
/dist | ||
|
||
|
||
# local env files | ||
.env | ||
.env.local | ||
.env.*.local | ||
|
||
# lock files | ||
/yarn.lock | ||
|
||
# Log files | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
|
||
# Editor directories and files | ||
.idea | ||
.vscode | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
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
Oops, something went wrong.