Skip to content

Commit

Permalink
ci: add workflow and build 3.1 every week
Browse files Browse the repository at this point in the history
  • Loading branch information
Joxit committed Nov 29, 2021
1 parent 626e7dd commit 8d21130
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 22 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

name: Push Docker Hub

on:
push:
branches: [ master, main ]
schedule:
# Every sunday at 0:00
- cron: '0 0 * * 0'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Mainline Debian Version
uses: docker/build-push-action@v2
with:
context: ./v3.1
platforms: linux/amd64
push: true
tags: |
jawg/mapnik3:latest
jawg/mapnik3:3.1
jawg/mapnik3:3.1-bullseye
13 changes: 0 additions & 13 deletions build_all.sh

This file was deleted.

18 changes: 9 additions & 9 deletions v3.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM debian:buster-slim
FROM debian:bullseye-slim

ENV MAPNIK_VERSION v3.1.0

Expand All @@ -39,21 +39,21 @@ ENV BUILD_DEPENDENCIES="build-essential \
libtiff-dev \
libwebp-dev"

ENV DEPENDENCIES="libboost-filesystem1.67.0 \
libboost-program-options1.67.0 \
libboost-regex1.67.0 \
libboost-thread1.67.0 \
libboost-system1.67.0 \
ENV DEPENDENCIES="libboost-filesystem1.74.0 \
libboost-program-options1.74.0 \
libboost-regex1.74.0 \
libboost-thread1.74.0 \
libboost-system1.74.0 \
libcairo2 \
libfreetype6 \
libgdal20 \
libgdal28 \
libharfbuzz-gobject0 \
libharfbuzz-icu0 \
libharfbuzz0b \
libicu63 \
libicu67 \
libjpeg62-turbo \
libpq5 \
libproj13 \
libproj19 \
librasterlite2-1 \
libsqlite3-0 \
libtiff5 \
Expand Down

0 comments on commit 8d21130

Please sign in to comment.