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

整理: GitHub workflow step の命名規則を統一 #1139

Merged
merged 14 commits into from
May 1, 2024
Merged
Show file tree
Hide file tree
Changes from 3 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
17 changes: 8 additions & 9 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,13 @@ jobs:
platforms: linux/amd64

steps:
- uses: actions/checkout@v4
- name: Set up the repository
uses: actions/checkout@v4

- name: Setup QEMU
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Setup Docker Buildx
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2

Expand All @@ -96,29 +97,27 @@ jobs:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

# Download VOICEVOX RESOURCE
- name: Prepare VOICEVOX RESOURCE cache
- name: Set up VOICEVOX RESOURCE cache
uses: actions/cache@v3
id: voicevox-resource-cache
with:
key: voicevox-resource-${{ env.VOICEVOX_RESOURCE_VERSION }}
path: download/resource

- name: Checkout VOICEVOX RESOURCE
- name: Set up VOICEVOX RESOURCE repository
if: steps.voicevox-resource-cache.outputs.cache-hit != 'true'
uses: actions/checkout@v4
with:
repository: VOICEVOX/voicevox_resource
ref: ${{ env.VOICEVOX_RESOURCE_VERSION }}
path: download/resource

# Merge VOICEVOX RESOURCE
- name: Merge VOICEVOX RESOURCE
- name: Build VOICEVOX RESOURCE
env:
DOWNLOAD_RESOURCE_PATH: download/resource
run: bash build_util/process_voicevox_resource.bash

- name: Build and Deploy Docker image
- name: Build and Deploy the application Docker image
uses: docker/build-push-action@v3
env:
IMAGE_TAG:
Expand Down
Loading
Loading