Skip to content

🐛 fix api stats doc in prod being visible #141

🐛 fix api stats doc in prod being visible

🐛 fix api stats doc in prod being visible #141

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