Skip to content

[BOP-54] Run CI on a PR (#6) #14

[BOP-54] Run CI on a PR (#6)

[BOP-54] Run CI on a PR (#6) #14

Workflow file for this run

name: Build and Push Docker Image
on:
push:
branches: [ "main" ]
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Log in to the Container registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build docker image
working-directory: .
run: make docker-build
- name: Push docker image to ghcr.io
working-directory: .
run: make docker-push