Skip to content

Commit

Permalink
updating build
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Arnold committed Apr 17, 2025
1 parent 79b27e5 commit faf1074
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: write
Expand All @@ -13,10 +15,10 @@ jobs:
build:
runs-on: ubuntu-latest
env:
PACKER_GITHUB_API_TOKEN: ${{ secrets.GH_TOKEN }}
AWS_ACCESS_KEY_ID: ${{ vars.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-1
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}

steps:
- uses: actions/setup-node@v3
Expand All @@ -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: |
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit faf1074

Please sign in to comment.