Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
update

update
  • Loading branch information
amishas157 committed Aug 9, 2024
1 parent 5141b12 commit 3096d46
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,16 @@ jobs:
uses: actions/checkout@v3

- name: Make docker image
uses: make docker-build
working-directory: .
run: make docker-build

- name: Add SHORT_SHA env property with commit short sha
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV

- name: Retag docker image
uses: docker tag stellar/stellar-etl:${{ github.sha }} stellar/stellar-etl-dev:${{ github.sha }}
working-directory: .
run: docker tag stellar/stellar-etl:${SHORT_SHA} stellar/stellar-etl-dev:${SHORT_SHA}

- name: Push docker image
uses: docker push stellar/stellar-etl-dev:${{ github.sha }}
working-directory: .
run: docker push stellar/stellar-etl-dev:${SHORT_SHA}

0 comments on commit 3096d46

Please sign in to comment.