Docker publish
This commit is contained in:
parent
1569d116a9
commit
daf830c5ed
1 changed files with 19 additions and 0 deletions
19
.github/workflows/docker-publish.yml
vendored
19
.github/workflows/docker-publish.yml
vendored
|
|
@ -63,3 +63,22 @@ jobs:
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
cache-from: type=gha,scope=screenshot
|
cache-from: type=gha,scope=screenshot
|
||||||
cache-to: type=gha,mode=max,scope=screenshot
|
cache-to: type=gha,mode=max,scope=screenshot
|
||||||
|
|
||||||
|
- name: Set up uv
|
||||||
|
uses: astral-sh/setup-uv@v4
|
||||||
|
|
||||||
|
- name: Download arcgis data for finder
|
||||||
|
run: uv run python -m pipeline.download.arcgis --output property-data/arcgis_data.parquet
|
||||||
|
|
||||||
|
- name: Build and push finder service
|
||||||
|
uses: docker/build-push-action@v6
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
file: Dockerfile.finder
|
||||||
|
push: true
|
||||||
|
tags: |
|
||||||
|
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-finder:latest
|
||||||
|
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-finder:sha-${{ github.sha }}
|
||||||
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
cache-from: type=gha,scope=finder
|
||||||
|
cache-to: type=gha,mode=max,scope=finder
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue