Skip to content

Commit

Permalink
update by schedule every day
Browse files Browse the repository at this point in the history
  • Loading branch information
deemakuzovkin committed Sep 2, 2022
1 parent e0367e2 commit 81de835
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/go-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,34 @@ on:
schedule:
- cron: "30 10 * * *"
jobs:
russia-all:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Make dir
run: mkdir -p custom_files
- name: Dowload data file
run: wget https://download.geofabrik.de/russia-latest.osm.pbf -O custom_files/russia-latest.osm.pbf
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile
platforms: linux/amd64
push: true
build-args: OSM_FILE=russia-latest.osm.pbf
tags: ghcr.io/deemakuzovkin/osm-docker/russia-all:latest
russia:
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit 81de835

Please sign in to comment.