Skip to content

Commit

Permalink
Don't use the 'build' GitHub env for CI builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
smarnach committed Dec 12, 2023
1 parent b40d4f7 commit c534d29
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ on:

jobs:
build:
environment: build
permissions:
contents: read
deployments: write
Expand Down Expand Up @@ -67,7 +66,7 @@ jobs:
echo DEPLOYMENT_ENV=prod >> "$GITHUB_ENV"
- name: Push the Docker image to GAR
if: env.IMAGE_TAG != ''
uses: mozilla-it/deploy-actions/docker-push@main
uses: mozilla-it/deploy-actions/docker-push@v3.9.0
with:
local_image: eliot:build
image_repo_path: ${{ secrets.DOCKER_IMAGE_PATH }}
Expand Down

0 comments on commit c534d29

Please sign in to comment.