Skip to content

Commit

Permalink
chore: update prod release ci [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
robcxyz committed Nov 2, 2021
1 parent a86672e commit 8c12821
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
env:
ECR_REGISTRY: ${{ steps.login-ecr-api.outputs.registry }}
ECR_REPOSITORY: icon-metrics-api
IMAGE_TAG: ${{ github.run_number }}
IMAGE_TAG: ${{ steps.source.outputs.TAG }}
run: |
docker build --target prod --build-arg SERVICE_NAME=api -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
Expand Down Expand Up @@ -163,6 +163,13 @@ jobs:
value: ${{ steps.source.outputs.TAG }}
branch: main
createPR: 'false'
message: 'metrics prod deployment (mainnet) image versions to ${{ github.run_number }}'
message: 'metrics prod deployment (mainnet) image versions to ${{ steps.source.outputs.TAG }}'
token: ${{ secrets.ICON_CHARTS_PAT }}
updateFile: true

- name: Push tags
run: |
git tag -f metrics-prod-uswest2
git tag -f metrics-prod-euwest2
git push -f origin --tags
working-directory: charts

0 comments on commit 8c12821

Please sign in to comment.