Added support for github CI/CD and packaging. A few fixes for iOS build

This commit is contained in:
Petr Pokorny
2020-12-16 18:24:37 +01:00
parent 4b7b90378e
commit d793b7c048
23 changed files with 1193 additions and 71 deletions

View File

@@ -0,0 +1,29 @@
name: android-base-docker-image
on:
workflow_dispatch
jobs:
push_to_registry:
name: Docker image android-base
runs-on: [self-hosted, petr-ubuntu-acct]
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Login to ghcr.io
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
- name: Build and push android-base image
uses: docker/build-push-action@v2
with:
file: ./mapbox-gl-native-android/docker/android-base
context: ./mapbox-gl-native-android/docker
tags: ghcr.io/maptiler/android-base:latest
push: true