🐳 publish to dockerhub (#229)
This commit is contained in:
@@ -43,3 +43,14 @@ jobs:
|
|||||||
target: production
|
target: production
|
||||||
buildoptions: "-t docker-registry.linagora.com/tdrive/tdrive-node -f docker/tdrive-node/Dockerfile"
|
buildoptions: "-t docker-registry.linagora.com/tdrive/tdrive-node -f docker/tdrive-node/Dockerfile"
|
||||||
tags: "${{ env.DOCKERTAG }},${{ env.DOCKERTAGVERSION }}"
|
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
|
workdir: tdrive
|
||||||
buildoptions: "-t docker-registry.linagora.com/tdrive/tdrive-frontend -f docker/tdrive-frontend/Dockerfile"
|
buildoptions: "-t docker-registry.linagora.com/tdrive/tdrive-frontend -f docker/tdrive-frontend/Dockerfile"
|
||||||
tags: "${{ env.DOCKERTAG }},${{ env.DOCKERTAGVERSION }}"
|
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
|
- tdrive_network
|
||||||
|
|
||||||
node:
|
node:
|
||||||
image: docker-registry.linagora.com/tdrive/tdrive-node
|
image: twakedrive/tdrive-node
|
||||||
hostname: tdrive_node
|
hostname: tdrive_node
|
||||||
environment:
|
environment:
|
||||||
- DEV=production
|
- DEV=production
|
||||||
@@ -26,7 +26,7 @@ services:
|
|||||||
- tdrive_network
|
- tdrive_network
|
||||||
|
|
||||||
fronend:
|
fronend:
|
||||||
image: docker-registry.linagora.com/tdrive/tdrive-frontend
|
image: twakedrive/tdrive-frontend
|
||||||
environment:
|
environment:
|
||||||
- DEV=production
|
- DEV=production
|
||||||
- SSL_CERTS=selfsigned
|
- SSL_CERTS=selfsigned
|
||||||
|
|||||||
Reference in New Issue
Block a user