Skip to content

📄 Add GPLv3 license #151

📄 Add GPLv3 license

📄 Add GPLv3 license #151

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