Skip to content

refactor: refactors the MongoDB fixture and improves the configuration #15

refactor: refactors the MongoDB fixture and improves the configuration

refactor: refactors the MongoDB fixture and improves the configuration #15

name: build and publish docker image
on:
push:
branches:
- master
jobs:
docker-build-and-push:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: login docker hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: build docker image
run: docker build -t httpsrichardy/federation:latest .
- name: push docker image
run: docker push httpsrichardy/federation:latest