Skip to content

Commit

Permalink
MAN-227 - move env variable to docker build step
Browse files Browse the repository at this point in the history
  • Loading branch information
achimber-moj committed Dec 20, 2024
1 parent a31c37f commit 6f590e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/build_multiplatform_docker/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ runs:
# uses: aws-actions/amazon-ecr-login@v1

- name: Build Docker images
env:
SENTRY_AUTH_TOKEN: ${{ inputs.app_version }}
# env:
# SENTRY_AUTH_TOKEN: ${{ inputs.app_version }}
uses: docker/build-push-action@v6
with:
cache-from: type=gha
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ jobs:
# ${{ inputs.docker_registry}}/${{ inputs.registry_org }}/${{ github.event.repository.name }}:latest
# ${{ inputs.docker_registry}}/${{ inputs.registry_org }}/${{ github.event.repository.name }}:${{ steps.app_version.outputs.version }}
- uses: ./.github/actions/build_multiplatform_docker # WORKFLOW_VERSION
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
if: ${{ ( inputs.docker_registry == 'ghcr.io' ) && ( inputs.docker_multiplatform )}}
with:
repository_name: ${{ github.event.repository.name }}
Expand Down

0 comments on commit 6f590e1

Please sign in to comment.