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 949a014
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ jobs:
application: ['bigcommerce-mesh', 'orocommerce-mesh']
runs-on: ubuntu-latest
steps:
- uses: ./.github/workflows/build.yml
- uses: ${{ GITHUB_ACTION_REPOSITORY }}/.github/workflows/build.yml
with:
application: ${{ matrix.application }}
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 949a014

Please sign in to comment.