Skip to content

🐛 Fix email payload type #147

🐛 Fix email payload type

🐛 Fix email payload type #147

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