Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Commit

Permalink
pass lantern version via workflow inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
var77 committed Sep 19, 2024
1 parent 06ce622 commit e114631
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/submit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,19 @@ on:
- main
workflow_dispatch:
inputs:
MINOR_VERSION:
VERSION:
type: string
description: "Image Version"
required: true
default: "0.2.5"
LANTERN_VERSION:
type: string
description: "Lantern Version"
required: true
default: "0.3.4"
env:
VERSION: ${{ github.event.inputs.VERSION || '0.2.5' }}
LANTERN_VERSION: ${{ github.event.inputs.LANTERN_VERSION || '0.3.4' }}
IMAGE_NAME: "lanterndata/lantern-suite"
jobs:
docker:
Expand Down Expand Up @@ -46,6 +52,7 @@ jobs:
push: true
build-args: |
PG_VERSION=${{ matrix.postgres }}
LANTERN_VERSION=${{ env.LANTERN_VERSION }}
tags: |
${{ env.IMAGE_NAME }}:pg${{ matrix.postgres }}-latest
${{ env.IMAGE_NAME }}:pg${{ matrix.postgres }}-v${{ env.VERSION }}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG PG_VERSION=15

FROM postgres:$PG_VERSION-bookworm
ARG LANTERN_VERSION=varik/external-index-router
ARG LANTERN_VERSION=v0.3.4
ARG LANTERN_EXTRAS_VERSION=0.2.3
ARG PG_VERSION
ARG TARGETARCH
Expand Down

0 comments on commit e114631

Please sign in to comment.