Files
ThaMunsta ab17324f85
Build Images and Deploy / Update-PROD-Stack (push) Successful in 34s
feat: add deployment workflows for web, Android, Docker, macOS, and Linux
2026-03-30 22:00:36 -04:00

44 lines
1.1 KiB
YAML

name: Build & Push Docker Image
on:
workflow_dispatch:
inputs:
tag:
description: 'Docker image tag (e.g. 2.0.0)'
required: true
default: '2.0.0'
jobs:
build-docker:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfile
push: true
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/k0rb3nd4ll4s/dibby-wemo-manager:${{ github.event.inputs.tag }}
ghcr.io/k0rb3nd4ll4s/dibby-wemo-manager:latest
cache-from: type=gha
cache-to: type=gha,mode=max