2025-02-24 18:36:01 +02:00

29 lines
632 B
YAML

name: Docker
on:
push:
branches:
- master
tags:
- 'v*.*.*'
paths-ignore:
- '**/*.md'
- '.gitignore'
- '.dockerignore'
- '.github/**'
- '!.github/workflows/docker.yml'
- 'LICENSE-*'
workflow_dispatch:
jobs:
build-and-push:
name: Build and Push
uses: codex-storage/github-actions/.github/workflows/docker-reusable.yml@master
with:
docker_file: Dockerfile
dockerhub_repo: codexstorage/testnet-bot
tag_latest: ${{ github.ref_name == github.event.repository.default_branch || startsWith(github.ref, 'refs/tags/') }}
secrets: inherit