Skip to content

fix: this commit introduces DOTNET_RUNNING_IN_CONTAINER environment v… #17

fix: this commit introduces DOTNET_RUNNING_IN_CONTAINER environment v…

fix: this commit introduces DOTNET_RUNNING_IN_CONTAINER environment v… #17

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