mirror of
https://github.com/logos-storage/discord-bot.git
synced 2026-01-02 13:13:08 +00:00
29 lines
632 B
YAML
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
|