Skip to content

Commit

Permalink
Merge pull request #6247 from mozilla/sumo-workflow-dev
Browse files Browse the repository at this point in the history
change the location for the statement setup-buildx-actions
  • Loading branch information
Basma1912 authored Sep 23, 2024
2 parents b9e8fd0 + b106bc6 commit 4253a6e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- name: Create version.json
run: |
# create a version.json per
Expand All @@ -67,7 +66,7 @@ jobs:
echo TAG ="dev-$(git describe --tags --abbrev=7)" >> "$GITHUB_ENV"
# Updates to the main branch are deployed to stage.
# Updates to the main branch are deployed to stage
echo DEPLOYMENT_ENV=dev >> "$GITHUB_ENV"
echo DEPLOYMENT_REALM=nonprod >> "$GITHUB_ENV"
Expand All @@ -92,6 +91,8 @@ jobs:
echo DEPLOYMENT_ENV=prod >> "$GITHUB_ENV"
echo DEPLOYMENT_REALM=prod >> "$GITHUB_ENV"
- uses: docker/setup-buildx-action@v3

- id: gcp_auth
name: GCP authentication
uses: google-github-actions/auth@v2
Expand Down Expand Up @@ -122,6 +123,10 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max

- id: print_them_out
run: |
echo $GITHUB_OUTPUT
upload-static-assets:
name: upload static assets
environment: ${{ needs.build.outputs.deployment_env }}
Expand Down

0 comments on commit 4253a6e

Please sign in to comment.