From e56df9c0934a26b3af26282506671f492ee1e897 Mon Sep 17 00:00:00 2001 From: Anton SHEPILOV Date: Wed, 31 Jan 2024 14:50:51 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=B3Publish=20docker=20image=20for=20fe?= =?UTF-8?q?deration=20server?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish-matrix-invite.yml | 4 ++-- .github/workflows/publish-tom-federation-server.yml | 4 ++-- .github/workflows/publish-tom-server.yml | 9 ++++----- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish-matrix-invite.yml b/.github/workflows/publish-matrix-invite.yml index 5e813910..7b2293fa 100644 --- a/.github/workflows/publish-matrix-invite.yml +++ b/.github/workflows/publish-matrix-invite.yml @@ -7,7 +7,7 @@ on: workflow_call: jobs: - publish-docker: + publish: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -21,7 +21,7 @@ jobs: - name: Publish to dockerhub uses: elgohr/Publish-Docker-Github-Action@v5 with: - name: linagora/tom-federation-server + name: linagora/twake-matrix-invite username: ${{ secrets.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_PASSWORD }} workdir: "${{ github.workspace }}/packages/matrix-invite/" diff --git a/.github/workflows/publish-tom-federation-server.yml b/.github/workflows/publish-tom-federation-server.yml index 15571f8d..1611dcf0 100644 --- a/.github/workflows/publish-tom-federation-server.yml +++ b/.github/workflows/publish-tom-federation-server.yml @@ -7,7 +7,7 @@ on: workflow_call: jobs: - publish-docker: + publish: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -15,7 +15,7 @@ jobs: id: changed-files uses: tj-actions/changed-files@v41 with: - files: | + files: | packages/federation-server/**/* .github/workflows/** - name: Publish to dockerhub diff --git a/.github/workflows/publish-tom-server.yml b/.github/workflows/publish-tom-server.yml index 69d3442d..c386e0c3 100644 --- a/.github/workflows/publish-tom-server.yml +++ b/.github/workflows/publish-tom-server.yml @@ -7,25 +7,24 @@ on: workflow_call: jobs: - publish-docker: + publish: runs-on: ubuntu-latest - if: github.event_name == 'push' steps: - uses: actions/checkout@v3 - name: Get all src files that have changed id: changed-files uses: tj-actions/changed-files@v41 with: - files: | + files: | packages/federation-server/**/* .github/workflows/** - name: Publish to dockerhub uses: elgohr/Publish-Docker-Github-Action@v5 with: - name: linagora/tom-federation-server + name: linagora/tom-server username: ${{ secrets.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_PASSWORD }} workdir: "${{ github.workspace }}" context: . - buildoptions: "-t linagora/tom-federation-server -f Dockerfile" + buildoptions: "-t linagora/tom-server -f Dockerfile" tags: "latest"