2025-12-16 17:19:52 +11:00

29 lines
652 B
YAML

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