Skip to content

Limit apk build to armeabi-v7a #1

Limit apk build to armeabi-v7a

Limit apk build to armeabi-v7a #1

name: Build APK Builder Image
on:
workflow_dispatch:
push:
branches:
- "apk/**"
paths:
- "docker/apk-builder/Dockerfile"
- ".github/workflows/build-apk-builder.yml"
permissions:
contents: read
packages: write
env:
IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/pythonhere-apk-builder
jobs:
build:
name: Build APK builder image
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v6
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
file: docker/apk-builder/Dockerfile
push: true
tags: |
${{ env.IMAGE_NAME }}:latest
${{ env.IMAGE_NAME }}:rust-1.83.0
cache-from: type=gha
cache-to: type=gha,mode=max