Skip to content

Commit

Permalink
added tools setup, and refined the log
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac Yang committed Sep 19, 2024
1 parent ec40ae2 commit 195bb2c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/docker-build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -331,10 +331,20 @@ jobs:
prev_minor=$((minor - 1))
target_branch="aptos-release-v${major}.${prev_minor}"
else
echo "Error: Unsupported branch format" >&2
echo "The current branch is not a release branch, use the latest docker image tag from main branch for compat test" >&2
target_branch="main"
fi
echo "TARGET_BRANCH=${target_branch}" >> $GITHUB_OUTPUT
- uses: aptos-labs/aptos-core/.github/actions/docker-setup@main
id: docker-setup
with:
GCP_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
GCP_SERVICE_ACCOUNT_EMAIL: ${{ secrets.GCP_SERVICE_ACCOUNT_EMAIL }}
EXPORT_GCP_PROJECT_VARIABLES: "false"
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DOCKER_ARTIFACT_REPO: ${{ secrets.AWS_DOCKER_ARTIFACT_REPO }}
GIT_CREDENTIALS: ${{ secrets.GIT_CREDENTIALS }}
- uses: aptos-labs/aptos-core/.github/actions/get-latest-docker-image-tag@main
id: get-docker-image-tag
with:
Expand Down

0 comments on commit 195bb2c

Please sign in to comment.