mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-27 08:14:30 -04:00
31 lines
749 B
YAML
31 lines
749 B
YAML
name: Docker Build Dev Docs
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- dev
|
|
|
|
jobs:
|
|
push_to_registry:
|
|
name: Push Docker image to GitHub Packages
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
packages: write
|
|
contents: read
|
|
steps:
|
|
- name: Check out the repo
|
|
uses: actions/checkout@v2
|
|
- name: Log in to GitHub Docker Registry
|
|
uses: docker/login-action@v1
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.repository_owner }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: Build container image
|
|
uses: docker/build-push-action@v2
|
|
with:
|
|
context: ./docs
|
|
push: true
|
|
tags: |
|
|
ghrc.io/${{ github.repository }}/dev-docs:latest
|