Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: use common docker reusable workflow #119

Merged
merged 1 commit into from
Feb 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/docker-autoclient.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Docker - AutoClient


on:
push:
branches:
Expand All @@ -12,15 +13,15 @@ on:
- 'Framework/**'
- 'ProjectPlugins/**'
- .github/workflows/docker-autoclient.yml
- .github/workflows/docker-reusable.yml
workflow_dispatch:


jobs:
build-and-push:
name: Build and Push
uses: ./.github/workflows/docker-reusable.yml
uses: codex-storage/github-actions/.github/workflows/docker-reusable.yml@master
with:
docker_file: Tools/AutoClient/docker/Dockerfile
docker_repo: codexstorage/codex-autoclient
dockerhub_repo: codexstorage/codex-autoclient
tag_latest: ${{ github.ref_name == github.event.repository.default_branch || startsWith(github.ref, 'refs/tags/') }}
secrets: inherit

7 changes: 3 additions & 4 deletions .github/workflows/docker-discordbot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,15 @@ on:
- 'Framework/**'
- 'ProjectPlugins/**'
- .github/workflows/docker-discordbot.yml
- .github/workflows/docker-reusable.yml
workflow_dispatch:


jobs:
build-and-push:
name: Build and Push
uses: ./.github/workflows/docker-reusable.yml
uses: codex-storage/github-actions/.github/workflows/docker-reusable.yml@master
with:
docker_file: Tools/BiblioTech/docker/Dockerfile
docker_repo: codexstorage/codex-discordbot
dockerhub_repo: codexstorage/codex-discordbot
tag_latest: ${{ github.ref_name == github.event.repository.default_branch || startsWith(github.ref, 'refs/tags/') }}
secrets: inherit

9 changes: 4 additions & 5 deletions .github/workflows/docker-keymaker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,16 @@ on:
- 'Tools/KeyMaker/**'
- 'Framework/**'
- 'ProjectPlugins/**'
- .github/workflows/docker-KeyMaker.yml
- .github/workflows/docker-reusable.yml
- .github/workflows/docker-keymaker.yml
workflow_dispatch:


jobs:
build-and-push:
name: Build and Push
uses: ./.github/workflows/docker-reusable.yml
uses: codex-storage/github-actions/.github/workflows/docker-reusable.yml@master
with:
docker_file: Tools/KeyMaker/docker/Dockerfile
docker_repo: codexstorage/codex-keymaker
dockerhub_repo: codexstorage/codex-keymaker
tag_latest: ${{ github.ref_name == github.event.repository.default_branch || startsWith(github.ref, 'refs/tags/') }}
secrets: inherit

7 changes: 3 additions & 4 deletions .github/workflows/docker-marketinsights.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,15 @@ on:
- 'Framework/**'
- 'ProjectPlugins/**'
- .github/workflows/docker-marketinsights.yml
- .github/workflows/docker-reusable.yml
workflow_dispatch:


jobs:
build-and-push:
name: Build and Push
uses: ./.github/workflows/docker-reusable.yml
uses: codex-storage/github-actions/.github/workflows/docker-reusable.yml@master
with:
docker_file: Tools/MarketInsights/Dockerfile
docker_repo: codexstorage/codex-marketinsights
dockerhub_repo: codexstorage/codex-marketinsights
tag_latest: ${{ github.ref_name == github.event.repository.default_branch || startsWith(github.ref, 'refs/tags/') }}
secrets: inherit

178 changes: 0 additions & 178 deletions .github/workflows/docker-reusable.yml

This file was deleted.

9 changes: 5 additions & 4 deletions .github/workflows/docker-rewarder.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Docker - Rewarder Bot


on:
push:
branches:
Expand All @@ -12,15 +13,15 @@ on:
- 'Framework/**'
- 'ProjectPlugins/**'
- .github/workflows/docker-rewarder.yml
- .github/workflows/docker-reusable.yml
workflow_dispatch:


jobs:
build-and-push:
name: Build and Push
uses: ./.github/workflows/docker-reusable.yml
uses: codex-storage/github-actions/.github/workflows/docker-reusable.yml@master
with:
docker_file: Tools/TestNetRewarder/docker/Dockerfile
docker_repo: codexstorage/codex-rewarderbot
dockerhub_repo: codexstorage/codex-rewarderbot
tag_latest: ${{ github.ref_name == github.event.repository.default_branch || startsWith(github.ref, 'refs/tags/') }}
secrets: inherit

7 changes: 5 additions & 2 deletions .github/workflows/docker-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ on:
- docker/Dockerfile
- docker/docker-entrypoint.sh
- .github/workflows/docker-runner.yml
- .github/workflows/docker-reusable.yml
workflow_dispatch:


jobs:
build-and-push:
name: Build and Push
uses: ./.github/workflows/docker-reusable.yml
uses: codex-storage/github-actions/.github/workflows/docker-reusable.yml@master
with:
docker_file: docker/Dockerfile
dockerhub_repo: codexstorage/cs-codex-dist-tests
tag_latest: ${{ github.ref_name == github.event.repository.default_branch || startsWith(github.ref, 'refs/tags/') }}
secrets: inherit