Skip to content

Commit

Permalink
Generate deployment events after building a Docker image.
Browse files Browse the repository at this point in the history
  • Loading branch information
smarnach committed Nov 29, 2023
1 parent 224932d commit e61c907
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,11 @@ jobs:
echo "IMAGE_TAG=$GITHUB_REF_NAME" >> "$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@deployment-env
with:
local_image: eliot:build
image_repo_path: ${{ secrets.DOCKER_IMAGE_PATH }}
image_tag: ${{ env.IMAGE_TAG }}
workload_identity_pool_project_number: ${{ secrets.WORKLOAD_IDENTITY_POOL_PROJECT_NUMBER }}
project_id: ${{ secrets.GCP_PROJECT_ID }}
deployment_env: stage

0 comments on commit e61c907

Please sign in to comment.