Skip to content

Publish Data (Central Europe, Göttingen, Sylt) #72

Publish Data (Central Europe, Göttingen, Sylt)

Publish Data (Central Europe, Göttingen, Sylt) #72

Workflow file for this run

name: Publish Data
on:
# workflow_run:
# workflows: ["Publish Docker images"]
# branches: [main]
# types:
# - completed
workflow_dispatch:
schedule:
- cron: '30 4 * * 1'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
packages: write
contents: write
jobs:
build_central-europe:
name: Push central-europe Docker image to GitHub Packages
runs-on: ubuntu-latest
steps:
- name: Free some disk space
run: |
df -h
sudo apt-get update
sudo apt-get remove -y '^dotnet-.*' '^llvm-.*' 'php.*' '^mongodb-.*' '^mysql-.*' '^postgresql-.*' '^gfortran-.*' '^cmake-.*' '^aspnetcore-.*' '^libmono-.*' '^mono-.*' '^ruby.*' '^r-.*' azure-cli google-chrome-stable firefox powershell
sudo rm -rf /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL /usr/local/graalvm/ /usr/local/share/powershell /usr/local/lib/android /usr/local/lib/node_modules /usr/local/.ghcup/ /usr/share/dotnet/ /opt/hostedtoolcache /opt/microsoft /usr/local/aws-*
sudo apt-get autoremove -y
sudo apt-get clean
sudo rm -rf /var/lib/apt/lists/*
docker rmi -f node:14 node:16 node:18 node:14-alpine node:16-alpine node:18-alpine ubuntu:18.04 ubuntu:20.04 ubuntu:22.04 debian:10 debian:11 buildpack-deps:buster buildpack-deps:bullseye
df -h
- name: Check out the repo
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Login to GitHub Packages Docker Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
logout: false
- name: Set up Docker Buildx
uses: docker/[email protected]
- name: Push to GitHub Packages
uses: docker/[email protected]
with:
push: true
context: .
file: deploy/docker/data/Dockerfile
build-args: |
MAX_ZOOM=14
FILTER_BUILDINGS=some
PLANATILER_IMAGE=ghcr.io/cmahnke/projektemacher-maps/planetiler:latest-data
tags: |
ghcr.io/cmahnke/map-data/central-europe:latest
build_goettingen:
name: Push goettingen Docker image to GitHub Packages
runs-on: ubuntu-latest
steps:
- name: Free some disk space
run: |
df -h
sudo apt-get update
sudo apt-get remove -y '^dotnet-.*' '^llvm-.*' 'php.*' '^mongodb-.*' '^mysql-.*' '^postgresql-.*' '^gfortran-.*' '^cmake-.*' '^aspnetcore-.*' azure-cli google-chrome-stable firefox powershell
sudo rm -rf /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL /usr/local/graalvm/ /usr/local/share/powershell /usr/local/lib/android /usr/local/lib/node_modules /usr/local/.ghcup/ /usr/share/dotnet/
sudo apt-get autoremove -y
sudo apt-get clean
sudo rm -rf /var/lib/apt/lists/*
docker rmi -f node:14 node:16 node:18 node:14-alpine node:16-alpine node:18-alpine ubuntu:18.04 ubuntu:20.04 ubuntu:22.04 debian:10 debian:11 buildpack-deps:buster buildpack-deps:bullseye
df -h
- name: Check out the repo
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Login to GitHub Packages Docker Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
logout: false
- name: Set up Docker Buildx
uses: docker/[email protected]
- name: Push to GitHub Packages
uses: docker/[email protected]
with:
push: true
context: .
file: deploy/docker/data/Dockerfile
build-args: |
COVERAGE=goettingen.json
MAX_ZOOM=14
EXCLUDE_LAYERS=""
FILTER_BUILDINGS=false
tags: |
ghcr.io/cmahnke/map-data/goettingen:latest
build_sylt:
name: Push sylt Docker image to GitHub Packages
runs-on: ubuntu-latest
steps:
- name: Free some disk space
run: |
df -h
sudo apt-get update
sudo apt-get remove -y '^dotnet-.*' '^llvm-.*' 'php.*' '^mongodb-.*' '^mysql-.*' '^postgresql-.*' '^gfortran-.*' '^cmake-.*' azure-cli google-chrome-stable firefox powershell
sudo rm -rf /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL /usr/local/graalvm/ /usr/local/share/powershell /usr/local/lib/android /usr/local/lib/node_modules /usr/local/.ghcup/ /usr/share/dotnet/
sudo apt-get autoremove -y
sudo apt-get clean
sudo rm -rf /var/lib/apt/lists/*
docker rmi -f node:14 node:16 node:18 node:14-alpine node:16-alpine node:18-alpine ubuntu:18.04 ubuntu:20.04 ubuntu:22.04 debian:10 debian:11 buildpack-deps:buster buildpack-deps:bullseye
df -h
- name: Check out the repo
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Login to GitHub Packages Docker Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
logout: false
- name: Set up Docker Buildx
uses: docker/[email protected]
- name: Push to GitHub Packages
uses: docker/[email protected]
with:
push: true
context: .
file: deploy/docker/data/Dockerfile
build-args: |
COVERAGE=sylt.json
MAX_ZOOM=14
EXCLUDE_LAYERS=""
FILTER_BUILDINGS=false
tags: |
ghcr.io/cmahnke/map-data/sylt:latest