🐳 publish to dockerhub (#229)

This commit is contained in:
Anton Shepilov
2023-10-10 17:11:49 +02:00
committed by GitHub
parent a3600ef174
commit 114c462271
3 changed files with 23 additions and 2 deletions
+11
View File
@@ -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 }}"
+10
View File
@@ -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
View File
@@ -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