diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7f303f3..3d45304 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,6 +4,8 @@ on: workflow_dispatch: push: branches: [ "main" ] + pull_request: + branches: [ "main" ] permissions: contents: write @@ -38,7 +40,7 @@ jobs: with: python-version: '3.11' cache: 'pip' - cache-dependency-path: requirements.txt + cache-dependency-path: gtag_requirements.txt - name: Install gtag dependencies run: | @@ -74,6 +76,9 @@ jobs: uses: aws-actions/amazon-ecr-login@v2 with: mask-password: true + registry-type: public + env: + AWS_REGION: ${{ env.AWS_DEFAULT_REGION }} - name: packer init run: packer init packer.pkr.hcl