Skip to content

🐳Publish docker image for federation server #2

🐳Publish docker image for federation server

🐳Publish docker image for federation server #2

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: publish-matrix-invite
on:
workflow_call:
jobs:
tests:
uses: ./.github/workflows/tests.yml
publish-docker:
runs-on: ubuntu-latest
needs: test
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: |
packages/federation-server/**/*
.github/workflows/**
- name: Publish to dockerhub
uses: elgohr/Publish-Docker-Github-Action@v5
with:

Check failure on line 27 in .github/workflows/publish-matrix-invite.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish-matrix-invite.yml

Invalid workflow file

You have an error in your yaml syntax on line 27
name: linagora/tom-federation-server
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
workdir: "${{ github.workspace }}/packages/matrix-invite/"
context: .
buildoptions: "-t linagora/twake-matrix-invite" -f Dockerfile
tags: "latest"