mockbuild: use REPO_BUCKET when defining the repo's base URL

Just deduplication of code.
This commit is contained in:
Ondřej Budai 2021-07-12 11:15:32 +02:00 committed by Ondřej Budai
parent e92b40952b
commit 54f233ac96

View file

@ -24,7 +24,7 @@ COMMIT=$(git rev-parse HEAD)
REPO_BUCKET=osbuild-composer-repos
# Public URL for the S3 bucket with our artifacts.
MOCK_REPO_BASE_URL="http://osbuild-composer-repos.s3.amazonaws.com"
MOCK_REPO_BASE_URL="http://${REPO_BUCKET}.s3.amazonaws.com"
# Relative path of the repository used for constructing both the local and
# remote paths below, so that they're consistent.