Skip to content

feat(build): add CI build #9

feat(build): add CI build

feat(build): add CI build #9

Workflow file for this run

name: docker-build
on:
push:
branches:
- main
jobs:
docker:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Log in to ghcr.io
uses: docker/login-action@v2
with:
registry: "ghcr.io"
username: ${{ github.actor }}
password: ${{ github.token }}
- id: meta
name: Create image metadata
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}
- name: Build Docker image
uses: docker/build-push-action@v4
with:
pull: true
push: true
tags: ${{ steps.meta.outputs.tags }}