Skip to content

GitHub CI composite action to build development and production containers for Bento components.

Notifications You must be signed in to change notification settings

bento-platform/bento_build_action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Bento Build Action

GitHub CI composite action to build development and production containers for Bento components.

To use this in a Bento service repository, create a GitHub Actions workflow which looks something like the following:

name: Build and push bento_my_cool_service
on:
  release:
    types: [ published ]
  pull_request:
    branches:
      - master
  push:
    branches:
      - master

jobs:
  build-push:
    runs-on: ubuntu-latest

    permissions:
      contents: read
      packages: write

    steps:
      - name: Checkout
        uses: actions/checkout@v4

      - name: Run Bento build action
        uses: bento-platform/bento_build_action@v1
        with:
          registry: ghcr.io
          registry-username: ${{ github.actor }}
          registry-password: ${{ secrets.GITHUB_TOKEN }}
          image-name: ghcr.io/bento-platform/bento_my_cool_service
          development-dockerfile: dev.Dockerfile
          dockerfile: Dockerfile

About

GitHub CI composite action to build development and production containers for Bento components.

Resources

Stars

Watchers

Forks

Packages

No packages published