docker-hub-push #399
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: docker-hub-push | |
on: | |
schedule: | |
# UTC by Moscow 9 am | |
- cron: '0 5 * * *' | |
workflow_dispatch: | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push Default Docker | |
uses: docker/build-push-action@v2 | |
with: | |
push: true | |
tags: onlyoffice/doc-builder-testing:latest | |
- name: Build and push develop Docker | |
uses: docker/build-push-action@v2 | |
with: | |
file: dockerfiles/debian-develop/Dockerfile | |
push: true | |
tags: onlyoffice/doc-builder-testing:develop-latest | |
- name: Build and push next Release Docker | |
uses: docker/build-push-action@v2 | |
with: | |
file: dockerfiles/debian-next-release/Dockerfile | |
push: true | |
tags: onlyoffice/doc-builder-testing:next-release | |
- name: Build and push current CentOS docker | |
uses: docker/build-push-action@v2 | |
with: | |
file: dockerfiles/centos-7/Dockerfile | |
push: true | |
tags: onlyoffice/doc-builder-testing:latest-centos |