Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
update
  • Loading branch information
amishas157 committed Aug 9, 2024
1 parent 3096d46 commit acc7584
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Make docker image
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
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-7`" >> $GITHUB_ENV

- name: Retag docker image
- name: Make docker image
working-directory: .
run: docker tag stellar/stellar-etl:${SHORT_SHA} stellar/stellar-etl-dev:${SHORT_SHA}
run: make docker-build
env:
ETLHASH: stellar/stellar-etl-dev:${SHORT_SHA}

- name: Push docker image
working-directory: .
Expand Down

0 comments on commit acc7584

Please sign in to comment.