Skip to content

🐛 Fix admin member update accepting 0 as penalty #136

🐛 Fix admin member update accepting 0 as penalty

🐛 Fix admin member update accepting 0 as penalty #136

name: Build and push docker image
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checking out code
uses: actions/checkout@v2
- uses: docker/login-action@v1
with:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
- name: Build and push Docker images
uses: docker/build-push-action@v2
with:
# gives the build the correct context
context: ./
push: true
file: .docker/dockerfile.api.production
tags: ghcr.io/${{ github.repository }}/tdctl-api:latest