Skip to content

Commit

Permalink
🐳Publish docker image for federation server
Browse files Browse the repository at this point in the history
  • Loading branch information
shepilov committed Jan 31, 2024
1 parent 852be95 commit e56df9c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-matrix-invite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_call:

jobs:
publish-docker:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -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/"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-tom-federation-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ on:
workflow_call:

jobs:
publish-docker:
publish:
runs-on: ubuntu-latest
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
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/publish-tom-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit e56df9c

Please sign in to comment.