Skip to content

Update README

Update README #56

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
branches:
- "main"
env:
REGISTRY: ghcr.io
jobs:
build-push-image:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Docker image
run: |
docker build -t ${{ env.REGISTRY }}/${{ github.repository_owner }}/kube-copilot:py .
docker push ${{ env.REGISTRY }}/${{ github.repository_owner }}/kube-copilot:py