Skip to content

docker-hub-push

docker-hub-push #724

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@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Default Docker
uses: docker/build-push-action@v6
with:
push: true
tags: onlyoffice/doc-builder-testing:latest
- name: Build and push develop Docker
uses: docker/build-push-action@v6
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@v6
with:
file: dockerfiles/debian-next-release/Dockerfile
push: true
tags: onlyoffice/doc-builder-testing:next-release
- name: Build and push current Rockylinux docker
uses: docker/build-push-action@v6
with:
file: dockerfiles/rockylinux-latest/Dockerfile
push: true
tags: onlyoffice/doc-builder-testing:latest-rocky