diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 5360ebd..0310e3a 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -9,6 +9,10 @@ jobs:
   build:
     runs-on: ubuntu-latest
     steps:
+      - name: Checkout
+        uses: actions/checkout@v2
+        with:
+            ref: main
       - name: ACR build
         id: acr
         uses: azure/docker-login@v1