Skip to content

Commit

Permalink
Use commit SHA instead of branch name in extended-ci
Browse files Browse the repository at this point in the history
Previously branch name was used, but it didn't work if
the branch name had '/' character.
  • Loading branch information
sylwiaszunejko committed Nov 29, 2024
1 parent 050cfda commit 641c214
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Build and push Scylla-bench Docker Image with gocql from PR
run: |
cd scylla-bench
GOCQL_REPO="github.com/${{ github.event.pull_request.head.repo.full_name }}" GOCQL_VERSION="${{ github.event.pull_request.head.ref }}" make build-with-custom-gocql-version
GOCQL_REPO="github.com/${{ github.event.pull_request.head.repo.full_name }}" GOCQL_VERSION="${{ github.event.pull_request.head.sha }}" make build-with-custom-gocql-version
DOCKER_IMAGE_TAG="scylladb/gocql-extended-ci:scylla-bench-${{ github.event.pull_request.head.sha }}" DOCKER_IMAGE_LABELS="com.scylladb.gocql-version=${{ github.event.pull_request.head.sha }}" make build-sct-docker-image
docker push "scylladb/gocql-extended-ci:scylla-bench-${{ github.event.pull_request.head.sha }}"
Expand Down

0 comments on commit 641c214

Please sign in to comment.