From 2a76ddc4051630f72f4f1268b166781f51cc7b42 Mon Sep 17 00:00:00 2001 From: Anton Shepilov Date: Mon, 22 Jan 2024 22:24:05 +0300 Subject: [PATCH] publish nextcloud migration to dockerhub (#339) --- .github/workflows/publish-nextcloud-migration.yml | 11 +++++++++++ tdrive/backend/utils/nextcloud-migration/package.json | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-nextcloud-migration.yml b/.github/workflows/publish-nextcloud-migration.yml index bc9ba17d..f149c6fe 100644 --- a/.github/workflows/publish-nextcloud-migration.yml +++ b/.github/workflows/publish-nextcloud-migration.yml @@ -29,4 +29,15 @@ jobs: context: . target: production buildoptions: "-t docker-registry.linagora.com/tdrive/tdrive-nextcloud-migration -f docker/tdrive-nextcloud-migration/Dockerfile" + tags: "${{ env.DOCKERTAG }},${{ env.DOCKERTAGVERSION }}" + - name: Publish to dockerhub + uses: elgohr/Publish-Docker-Github-Action@v5 + with: + name: twakedrive/tdrive-nextcloud-migration + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + workdir: tdrive + context: . + target: production + buildoptions: "-t docker-registry.linagora.com/tdrive/tdrive-nextcloud-migration -f docker/tdrive-nextcloud-migration/Dockerfile" tags: "${{ env.DOCKERTAG }},${{ env.DOCKERTAGVERSION }}" \ No newline at end of file diff --git a/tdrive/backend/utils/nextcloud-migration/package.json b/tdrive/backend/utils/nextcloud-migration/package.json index 8e481bda..fa088e45 100644 --- a/tdrive/backend/utils/nextcloud-migration/package.json +++ b/tdrive/backend/utils/nextcloud-migration/package.json @@ -36,7 +36,7 @@ "pino": "^8.17.1", "pino-pretty": "^10.3.0", "rimraf": "^3.0.2", - "rollup": "^4.9.3", + "rollup": "^3.29.4", "ts-jest": "^29.1.1", "ts-node": "^10.9.2", "tslib": "^2.6.2",