Skip to content

Commit

Permalink
Updates BASE_LIBRARY to {t5x,pax} instead of {upstream-t5x,upstream-p…
Browse files Browse the repository at this point in the history
…ax} in rosetta (#267)
  • Loading branch information
terrykong committed Sep 27, 2023
1 parent 60a6827 commit 11c0615
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_build_rosetta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
if [[ -n "${{ inputs.BASE_IMAGE }}" ]]; then
echo "BASE_IMAGE=${{ inputs.BASE_IMAGE }}" >> "$GITHUB_ENV"
else
echo "BASE_IMAGE=${{ env.DOCKER_REGISTRY }}/${{ inputs.BASE_LIBRARY }}:latest" >> "$GITHUB_ENV"
echo "BASE_IMAGE=${{ env.DOCKER_REGISTRY }}/upstream-${{ inputs.BASE_LIBRARY }}:latest" >> "$GITHUB_ENV"
fi
- name: Print environment variables
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly-rosetta-pax-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:
required: false

env:
BASE_LIBRARY: upstream-pax
BASE_LIBRARY: pax
DOCKER_REGISTRY: ghcr.io/nvidia

permissions:
Expand All @@ -44,7 +44,7 @@ jobs:
run: |
BUILD_DATE=$(TZ='US/Los_Angeles' date '+%Y-%m-%d')
if [[ -z "${{ inputs.BASE_IMAGE }}" ]]; then
BASE_IMAGE=${{ env.DOCKER_REGISTRY }}/${{ env.BASE_LIBRARY }}:latest
BASE_IMAGE=${{ env.DOCKER_REGISTRY }}/upstream-${{ env.BASE_LIBRARY }}:latest
else
BASE_IMAGE=${{ inputs.BASE_IMAGE }}
fi
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly-rosetta-t5x-build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:
required: false

env:
BASE_LIBRARY: upstream-t5x
BASE_LIBRARY: t5x
DOCKER_REGISTRY: ghcr.io/nvidia

permissions:
Expand All @@ -44,7 +44,7 @@ jobs:
run: |
BUILD_DATE=$(TZ='US/Los_Angeles' date '+%Y-%m-%d')
if [[ -z "${{ inputs.BASE_IMAGE }}" ]]; then
BASE_IMAGE=${{ env.DOCKER_REGISTRY }}/${{ env.BASE_LIBRARY }}:latest
BASE_IMAGE=${{ env.DOCKER_REGISTRY }}/upstream-${{ env.BASE_LIBRARY }}:latest
else
BASE_IMAGE=${{ inputs.BASE_IMAGE }}
fi
Expand Down

0 comments on commit 11c0615

Please sign in to comment.