build(deps): bump astral-sh/uv from 0.8.17 to 0.8.18 #1256
This file contains hidden or 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
--- | |
name: Docker Image | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
paths: | |
- '**' | |
push: | |
branches: | |
- develop | |
- integrate_1.9 | |
paths: | |
- '**' | |
env: | |
DOCKER_IMAGE: ghcr.io/opendatacube/explorer:tests | |
permissions: {} | |
# When a PR is updated, cancel the jobs from the previous version. Merges | |
# do not define head_ref, so use run_id to never cancel those jobs. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
deployment-image-test: | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
with: | |
fetch-depth: 0 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1 | |
- name: Build deployment Docker | |
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0 | |
with: | |
file: Dockerfile | |
context: . | |
tags: ${{ env.DOCKER_IMAGE }} | |
load: true | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
- name: Prepare explorer schema | |
run: | | |
export LOCAL_UID=$(id -u $USER) | |
export LOCAL_GID=$(id -g $USER) | |
make up-prod | |
make init-odc | |
make schema | |
- name: Test ping | |
run: | | |
curl --show-error --fail \ | |
--connect-timeout 5 \ | |
--max-time 10 \ | |
--retry 5 \ | |
--retry-all-errors \ | |
--retry-delay 0 \ | |
--retry-max-time 40 \ | |
"localhost:80/products" \ | |
> /dev/null |