Skip to content

Add docker bake file, and build action #1

Add docker bake file, and build action

Add docker bake file, and build action #1

Workflow file for this run

name: Build OCI image
on: push
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@4
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/metadata-action@v5
with:
images: zachauten/spring-boilerplate
- uses: docker/bake-action@v5
with:
files: |
./docker-bake.hcl
${{ steps.meta.outputs.bake-file }}