Skip to content

Commit

Permalink
update image name
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeWang1127 committed Oct 1, 2024
1 parent 9f1b157 commit ffee41e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/hermetic_library_generation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ set -e
# The parameters of this script is:
# 1. target_branch, the branch into which the pull request is merged.
# 2. current_branch, the branch with which the pull request is associated.
# 3. [optional] image_tag, the tag of us-docker.pkg.dev/java-hermetic-build-prod/java-hermetic-build-prod-images.
# 3. [optional] image_tag, the tag of us-docker.pkg.dev/java-hermetic-build-prod/private-resources/java-library-generation.
# 4. [optional] generation_config, the path to the generation configuration,
# the default value is generation_config.yaml in the repository root.
while [[ $# -gt 0 ]]; do
Expand Down Expand Up @@ -100,7 +100,7 @@ docker run \
-v "${m2_folder}":/home/.m2 \
-v "${api_def_dir}:${workspace_name}/googleapis" \
-e GENERATOR_VERSION="${image_tag}" \
us-docker.pkg.dev/java-hermetic-build-prod/java-hermetic-build-prod-images/library-generation:"${image_tag}" \
us-docker.pkg.dev/java-hermetic-build-prod/private-resources/java-library-generation:"${image_tag}" \
--baseline-generation-config-path="${workspace_name}/${baseline_generation_config}" \
--current-generation-config-path="${workspace_name}/${generation_config}" \
--api-definitions-path="${workspace_name}/googleapis"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hermetic_library_generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
echo "GENERATOR_VERSION=${GENERATOR_VERSION}" >> "$GITHUB_ENV"
docker build \
-f .cloudbuild/library_generation/library_generation.Dockerfile \
-t gcr.io/cloud-devrel-public-resources/java-library-generation:"${GENERATOR_VERSION}" \
-t us-docker.pkg.dev/java-hermetic-build-prod/private-resources/java-library-generation:"${GENERATOR_VERSION}" \
.
- uses: ./.github/scripts
if: env.SHOULD_RUN == 'true'
Expand Down

0 comments on commit ffee41e

Please sign in to comment.