Push built image (from main) to dockerhub
This commit is contained in:
parent
4b9489d050
commit
bbabfe72ab
2 changed files with 8 additions and 3 deletions
9
.github/workflows/docker-image.yml
vendored
9
.github/workflows/docker-image.yml
vendored
|
@ -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 }}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue