Skip to content

Update daily workflow to use built image for harvesting observation w… #3

Update daily workflow to use built image for harvesting observation w…

Update daily workflow to use built image for harvesting observation w… #3

Workflow file for this run

on:
schedule:
- cron: "0 0 * * *" # Run at 9 AM in JST
push:
branches:
- main
jobs:
daily:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v6
id: build
with:
context: .
push: false
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Harvest the observation weather data
run: |
docker run --rm ${{ steps.build.outputs.imageid}} cargo run --bin harvest_observation_weather_data