🐳 publish to dockerhub (#229)
This commit is contained in:
@@ -43,3 +43,14 @@ jobs:
|
||||
target: production
|
||||
buildoptions: "-t docker-registry.linagora.com/tdrive/tdrive-node -f docker/tdrive-node/Dockerfile"
|
||||
tags: "${{ env.DOCKERTAG }},${{ env.DOCKERTAGVERSION }}"
|
||||
- name: Publish to dockerhub
|
||||
uses: elgohr/Publish-Docker-Github-Action@v5
|
||||
with:
|
||||
name: twakedrive/tdrive-node
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
workdir: tdrive
|
||||
context: .
|
||||
target: production
|
||||
buildoptions: "-t twakedrive/tdrive-node -f docker/tdrive-node/Dockerfile"
|
||||
tags: "${{ env.DOCKERTAG }},${{ env.DOCKERTAGVERSION }}"
|
||||
|
||||
@@ -72,3 +72,13 @@ jobs:
|
||||
workdir: tdrive
|
||||
buildoptions: "-t docker-registry.linagora.com/tdrive/tdrive-frontend -f docker/tdrive-frontend/Dockerfile"
|
||||
tags: "${{ env.DOCKERTAG }},${{ env.DOCKERTAGVERSION }}"
|
||||
- name: Publish to dockerhub
|
||||
uses: elgohr/Publish-Docker-Github-Action@v5
|
||||
with:
|
||||
name: twakedrive/tdrive-frontend
|
||||
registry: docker-registry.linagora.com
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
workdir: tdrive
|
||||
buildoptions: "-t twakedrive/tdrive-frontend -f docker/tdrive-frontend/Dockerfile"
|
||||
tags: "${{ env.DOCKERTAG }},${{ env.DOCKERTAGVERSION }}"
|
||||
|
||||
+2
-2
@@ -10,7 +10,7 @@ services:
|
||||
- tdrive_network
|
||||
|
||||
node:
|
||||
image: docker-registry.linagora.com/tdrive/tdrive-node
|
||||
image: twakedrive/tdrive-node
|
||||
hostname: tdrive_node
|
||||
environment:
|
||||
- DEV=production
|
||||
@@ -26,7 +26,7 @@ services:
|
||||
- tdrive_network
|
||||
|
||||
fronend:
|
||||
image: docker-registry.linagora.com/tdrive/tdrive-frontend
|
||||
image: twakedrive/tdrive-frontend
|
||||
environment:
|
||||
- DEV=production
|
||||
- SSL_CERTS=selfsigned
|
||||
|
||||
Reference in New Issue
Block a user