aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Isom <[email protected]>2022-01-25 20:15:14 -0500
committerMax Isom <[email protected]>2022-01-25 20:15:14 -0500
commit9c1ca244b24017fa89168a40585b10d07f9cd308 (patch)
tree36ec599f205d729a95e344fea2cbc68a39bdc68d
parent8041586c31dbfcaf4f2b12109e5dcfac27f61892 (diff)
downloadmuse-9c1ca244b24017fa89168a40585b10d07f9cd308.tar.xz
muse-9c1ca244b24017fa89168a40585b10d07f9cd308.zip
Check out correct branch
-rw-r--r--.github/workflows/pr.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml
index 02eb197..ab5db0a 100644
--- a/.github/workflows/pr.yml
+++ b/.github/workflows/pr.yml
@@ -26,7 +26,7 @@ jobs:
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
- key: ${{ runner.os }}-buildx-prs-${{ matrix.build-arch }}-${{ github.sha }}
+ key: ${{ runner.os }}-buildx-prs-${{ matrix.build-arch }}-${{ github.event.pull_request.head.sha }}
restore-keys: |
${{ runner.os }}-buildx-prs-${{ matrix.build-arch }}
@@ -36,6 +36,10 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
+ - uses: actions/checkout@v2
+ with:
+ ref: ${{ github.event.pull_request.head.sha }}
+
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2