Skip to content

Commit

Permalink
Remove the ecr push \ (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecErasmus authored Apr 1, 2024
1 parent f2934b9 commit e3fc921
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ecr-build-and-push-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ jobs:
envkey_DATABASE_URL: ${{ secrets.DATABASE_URL }}
envkey_SENDGRID_API_KEY: ${{ secrets.SENDGRID_API_KEY }}

- name: Build and export
id: docker-build
uses: docker/build-push-action@v2 # https://github.com/marketplace/actions/build-and-push-docker-images
with:
builder: ${{ steps.buildx.outputs.name }}
context: .
file: ./Dockerfile
push: true
tags: ${{ steps.login-ecr.outputs.registry }}/armitage:${{ github.run_number }}-${{ needs.set_environment.outputs.short_sha }}
cache-from: type=gha
cache-to: type=gha,mode=max
# - name: Build and export
# id: docker-build
# uses: docker/build-push-action@v2 # https://github.com/marketplace/actions/build-and-push-docker-images
# with:
# builder: ${{ steps.buildx.outputs.name }}
# context: .
# file: ./Dockerfile
# push: true
# tags: ${{ steps.login-ecr.outputs.registry }}/armitage:${{ github.run_number }}-${{ needs.set_environment.outputs.short_sha }}
# cache-from: type=gha
# cache-to: type=gha,mode=max

0 comments on commit e3fc921

Please sign in to comment.