-
Notifications
You must be signed in to change notification settings - Fork 0
151 lines (142 loc) · 5.79 KB
/
data.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
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