Skip to content

Commit

Permalink
chore: add checkout of build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOrangePuff committed Oct 25, 2024
1 parent 5cf671c commit 0656327
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/push-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Push Image

on:
release:
types: [published] # Trigger on published release

jobs:
push:
runs-on: ubuntu-latest
needs: build
steps:
- name: 📦 Push to ECR
uses: aws-actions/amazon-ecr-login@v1
- run: |
docker load --input ${APPLICATION}_latest.tar.gz
docker tag ${APPLICATION}:latest ${IMAGE_NAME}:latest
docker push ${IMAGE_NAME}:latest

0 comments on commit 0656327

Please sign in to comment.