Skip to content

Add an option to set the Content-Type of the response #11

Add an option to set the Content-Type of the response

Add an option to set the Content-Type of the response #11

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Docker Login
env:
DOCKER_USER: ${{secrets.DOCKER_USER}}
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
run: |
docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD
- name: Build the Docker image
run: docker build . --file Dockerfile --tag mox-server:$(github.ref)
- name: Docker Push
run: docker push ${{secrets.DOCKER_USER}}/mox-server