Files
matrix.to-dracula-theme/.github/workflows/docker-image.yml
T
2026-04-08 09:02:31 +02:00

35 lines
824 B
YAML

name: Build and Push Matrix-to Docker Image
on:
workflow_dispatch: # Manueller Start
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Generate Timestamp Tag
id: vars
run: echo "sha_short=$(date +%Y%m%d-%H%M)" >> $GITHUB_OUTPUT
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: |
domoel/matrix-to:latest
no-cache: true