Push built image (from main) to dockerhub

This commit is contained in:
Alexander Hofbauer 2021-05-16 17:08:47 +02:00
parent 4b9489d050
commit bbabfe72ab
No known key found for this signature in database
GPG key ID: 6421CE3D34E74BA1
2 changed files with 8 additions and 3 deletions

View file

@ -2,9 +2,7 @@ name: Docker Image CI
on: on:
push: push:
branches: [ master ] branches: [ main ]
pull_request:
branches: [ master ]
jobs: jobs:
@ -23,3 +21,8 @@ jobs:
run: | run: |
echo Building version ${{ steps.version.outputs.release_version }}... echo Building version ${{ steps.version.outputs.release_version }}...
docker build . --file Dockerfile --tag alehoho/oo-ce-docker-license:${{ steps.version.outputs.release_version }} docker build . --file Dockerfile --tag alehoho/oo-ce-docker-license:${{ steps.version.outputs.release_version }}
- name: Push Docker image
run: |
echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
docker push alehoho/oo-ce-docker-license:${{ steps.version.outputs.release_version }}

View file

@ -1,5 +1,7 @@
# Patched ONLYOFFICE Docs (Community Edition) # Patched ONLYOFFICE Docs (Community Edition)
[![Docker Image CI](https://github.com/aleho/onlyoffice-ce-docker-license/actions/workflows/docker-image.yml/badge.svg)](https://github.com/aleho/onlyoffice-ce-docker-license/actions/workflows/docker-image.yml)
## Features ## Features
This [Dockerfile](./Dockerfile) and [patch](license.patch) compile a version of This [Dockerfile](./Dockerfile) and [patch](license.patch) compile a version of