mirror of
https://github.com/getAlby/lndhub.go.git
synced 2025-12-30 11:05:38 +01:00
24 lines
554 B
YAML
24 lines
554 B
YAML
name: Docker build & push
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
tags:
|
|
- '*'
|
|
jobs:
|
|
build:
|
|
env:
|
|
REGISTRY: ghcr.io
|
|
IMAGENAME: ${{ github.event.repository.name }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
name: Check out code
|
|
- name: Docker build
|
|
uses: mr-smithers-excellent/docker-build-push@v5
|
|
with:
|
|
image: ${{ env.IMAGENAME }}
|
|
registry: ${{ env.REGISTRY }}
|
|
username: ${{ github.repository_owner }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|