b7611b8fc0
This causes logging issues where certain words like 'termux' are censored. This breaks directory paths & urls.
30 lines
695 B
YAML
30 lines
695 B
YAML
name: Docker image
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- 'scripts/Dockerfile'
|
|
- 'scripts/properties.sh'
|
|
- 'scripts/setup-android-sdk.sh'
|
|
- 'scripts/setup-ubuntu.sh'
|
|
|
|
jobs:
|
|
update:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Clone repository
|
|
uses: actions/checkout@v2
|
|
- name: Build
|
|
run: |
|
|
cd ./scripts
|
|
docker build --tag termux/package-builder:latest .
|
|
- name: Push to hub.docker.com
|
|
env:
|
|
DOCKER_LOGIN: xeffyr
|
|
DOCKER_PASS: ${{ secrets.DOCKER_HUB_PASSWORD }}
|
|
run: |
|
|
docker login --username "${DOCKER_LOGIN}" --password "${DOCKER_PASS}"
|
|
docker push termux/package-builder:latest
|