termux-packages/.github/workflows/docker_image.yml
Leonid Pliushch cbdd1cf4c7
CI: revert changes to Docker workflow.
Credentials were removed from repository secrets and that's why login doesn't
work.

This reverts commit c4e244effc.
This reverts commit c8988499dc.
2021-03-29 17:49:37 +03:00

33 lines
753 B
YAML

name: Docker image
on:
push:
branches:
- master
paths:
- 'scripts/Dockerfile'
- 'scripts/properties.sh'
- 'scripts/setup-android-sdk.sh'
- 'scripts/setup-ubuntu.sh'
schedule:
- cron: '0 2 * * 0'
workflow_dispatch:
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