Skip to content

Commit 26314f3

Browse files
committed
Upgrade to stac-browser version 4.0.0.
1 parent f48cd6b commit 26314f3

File tree

3 files changed

+11
-14
lines changed

3 files changed

+11
-14
lines changed

.github/workflows/stac-browser.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,14 @@ on:
55
types: [released]
66
workflow_dispatch:
77
inputs:
8-
TAG_NAME:
9-
description: "Tag name for this image"
10-
required: true
11-
default: "eoapi-k8s-stac-browser"
128
STAC_BROWSER_VERSION:
13-
description: "STAC Browser version to build (e.g. v3.3.4)"
9+
description: "STAC Browser version to build (e.g. v4.0.0)"
1410
required: true
15-
default: "v3.3.4"
11+
default: "v4.0.0"
1612

1713
env:
1814
REGISTRY: ghcr.io
19-
TAG_NAME: ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }}
15+
STAC_BROWSER_VERSION: ${{ github.event.inputs.STAC_BROWSER_VERSION || github.event.release.tag_name }}
2016

2117
jobs:
2218
build-and-push:
@@ -28,12 +24,12 @@ jobs:
2824
uses: actions/checkout@v6
2925
with:
3026
repository: radiantearth/stac-browser
31-
ref: ${{ github.event.inputs.STAC_BROWSER_VERSION }}
27+
ref: ${{ env.STAC_BROWSER_VERSION }}
3228

3329
- name: Set environment variables
3430
run: |
3531
{
36-
echo "VERSION=${TAG_NAME#v}"
32+
echo "VERSION=${STAC_BROWSER_VERSION#v}"
3733
echo "IMAGE_NAME=$REGISTRY/${GITHUB_REPOSITORY,,}/stac-browser"
3834
echo "COMMITED_AT=$(git show -s --format=%cI "$(git rev-parse HEAD)")"
3935
echo "REVISION=$(git rev-parse --short HEAD)"
@@ -49,7 +45,8 @@ jobs:
4945
org.opencontainers.image.version=v${{ env.VERSION }}
5046
org.opencontainers.image.maintainer=${{ github.repository_owner }}
5147
tags: |
52-
type=semver,pattern={{version}},value=v${{ env.VERSION }}
48+
type=raw,value=${{ env.VERSION }}
49+
type=raw,value=latest
5350
5451
- name: Log in to the GitHub container registry
5552
uses: docker/login-action@v3
@@ -69,5 +66,5 @@ jobs:
6966
pathPrefix=/browser/
7067
tags: ${{ steps.meta.outputs.tags }}
7168
labels: ${{ steps.meta.outputs.labels }}
72-
cache-from: type=registry,ref=${{ env.IMAGE_NAME }}:edge
69+
cache-from: type=registry,ref=${{ env.IMAGE_NAME }}:latest
7370
cache-to: type=inline

charts/eoapi/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,8 +492,8 @@ browser:
492492
enabled: true
493493
image:
494494
# we use a custom image with pathPrefix built into it
495-
name: ghcr.io/developmentseed/eoapi-k8s-stac-browser
496-
tag: 3.3.4
495+
name: ghcr.io/developmentseed/eoapi-k8s/stac-browser
496+
tag: 4.0.0
497497
ingress:
498498
enabled: true # Control ingress specifically for browser service
499499
path: "/browser"

renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"matchPackageNames": [
5858
"/ghcr.io/developmentseed/tipg/",
5959
"/ghcr.io/developmentseed/titiler-md-demo/",
60-
"/ghcr.io/developmentseed/eoapi-k8s-stac-browser/"
60+
"/ghcr.io/developmentseed/eoapi-k8s/stac-browser/"
6161
],
6262
"automerge": false,
6363
"platformAutomerge": false,

0 commit comments

Comments
 (0)