Skip to content

feat: add more logs

feat: add more logs #5

name: Build
on:
push:
branches:
- main
env:
REGISTRY: ghcr.io
DB_IMAGE_NAME: ghcr.io/${{ github.repository }}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Docker buildx
uses: docker/setup-buildx-action@79abd3f86f79a9d68a23c75a09a9a85889262adf
- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push "lectorium-tools-bake-database"
uses: docker/build-push-action@v4
with:
push: true
tags: ${{ env.DB_IMAGE_NAME }}-bake-database:latest
context: ./bake-database