Skip to content

Commit

Permalink
Variable passing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blyedev committed Jun 17, 2024
1 parent 1bfe319 commit 1169049
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,17 @@ jobs:
run: echo "IMAGE_URI=${{ steps.login-ecr.outputs.registry }}/calendar-app-backend:${{ github.sha }}" >> $GITHUB_ENV

- name: Build and push using Buildx
id: build-and-push
uses: docker/build-push-action@v6
with:
context: ./backend
push: true
tags: ${{ steps.define-image-uri.outputs.IMAGE_URI }}
tags: ${{ env.IMAGE_URI }}
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Export image URI
id: export-image
run: echo "image=${{ steps.define-image-uri.outputs.IMAGE_URI }}" >> $GITHUB_OUTPUT
run: echo "image=${{ env.IMAGE_URI }}" >> $GITHUB_OUTPUT

build-frontend:
name: Build frontend and push to ECR
Expand Down

0 comments on commit 1169049

Please sign in to comment.