File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,23 +29,20 @@ jobs:
2929 with :
3030 activate-environment : " true"
3131
32- - name : Install dependencies
33- run : uv pip install ".[server,telemetry]"
34-
3532 - name : Determine the container tag and labels
3633 id : container_tag
3734 run : |
3835 APP_VERSION=$(python -c "import tomllib; print(tomllib.load(open('pyproject.toml', 'rb'))['project']['version'])")
3936 echo "APP_VERSION=$APP_VERSION" >> $GITHUB_ENV
4037
41- EODAG_VERSION=$(PYTHONWARNINGS="ignore::SyntaxWarning" uv run --active python -c "import eodag; print(eodag.__version__)")
42- echo "EODAG_VERSION=$EODAG_VERSION" >> $GITHUB_ENV
43-
4438 # Default: branch name
4539 CONTAINER_TAG=${GITHUB_REF##*/}
4640
4741 # Check if this is a release or eodag dispatch
4842 if [[ "${GITHUB_REF_TYPE}" == "tag" || ( "${GITHUB_EVENT_NAME}" == "repository_dispatch" && "${GITHUB_EVENT_CLIENT_PAYLOAD_TYPE}" == "release" ) ]]; then
43+ uv pip install ".[server,telemetry]"
44+ EODAG_VERSION=$(PYTHONWARNINGS="ignore::SyntaxWarning" uv run --active python -c "import eodag; print(eodag.__version__)")
45+ echo "EODAG_VERSION=$EODAG_VERSION" >> $GITHUB_ENV
4946 CONTAINER_TAG="${APP_VERSION}-eodag-${EODAG_VERSION}"
5047 fi
5148
6764 with :
6865 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
6966 tags : |
70- custom=stac-fastapi-eodag: ${{ env.CONTAINER_TAG }}
67+ type=raw,value= ${{ env.CONTAINER_TAG }}
7168 labels : |
7269 org.opencontainers.image.title=stac-fastapi-eodag
7370 org.opencontainers.image.description=A STAC FastAPI backend using EODAG
You can’t perform that action at this time.
0 commit comments