Skip to content

πŸ§‘β€πŸ’» add nix-shell dev environment #150

πŸ§‘β€πŸ’» add nix-shell dev environment

πŸ§‘β€πŸ’» add nix-shell dev environment #150

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