29 lines
876 B
YAML
29 lines
876 B
YAML
name: android-ndk-r21b-docker-image
|
|
on:
|
|
workflow_dispatch
|
|
jobs:
|
|
push_to_registry:
|
|
name: Docker image android-ndk-r21b
|
|
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-ndk-r21b image
|
|
uses: docker/build-push-action@v2
|
|
with:
|
|
file: ./mapbox-gl-native-android/docker/android-ndk-r21b
|
|
context: ./mapbox-gl-native-android/docker
|
|
tags: ghcr.io/maptiler/android-ndk-r21b:latest
|
|
push: true |