Skip to content

Merge pull request #162 from mzeevi/ci/add-install-yaml #21

Merge pull request #162 from mzeevi/ci/add-install-yaml

Merge pull request #162 from mzeevi/ci/add-install-yaml #21

Workflow file for this run

name: post-merge
on:
push:
branches:
- main
env:
REGISTRY: ghcr.io
REPOSITORY_NAME: ${{ github.repository }}
jobs:
build-and-push-image:
name: Build and push image
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@5f4866a30a54f16a52d2ecb4a3898e9e424939cf
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push docker image
run: make docker-build docker-push IMG=${{ env.REGISTRY }}/${{ env.REPOSITORY_NAME }}:main