Skip to content

Commit

Permalink
Merge pull request #407 from forta-protocol/fix-ref-use-in-prod-release
Browse files Browse the repository at this point in the history
Fix release tag usage in prod workflow
  • Loading branch information
canercidam authored Feb 7, 2022
2 parents 2fe63f2 + 095b4ad commit 358939d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
with:
registry: disco.forta.network
name: ${{ matrix.image-name }}
version: ${{ github.ref }}
version: ${{ github.ref_name }}
- name: Write image reference as output
id: write-output
run: |
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
- name: Create build for revision
run: |
./scripts/build.sh ${{ needs.containers.outputs.node-image-ref }} \
'remote' ${{ needs.containers.outputs.node-release-cid }} ${{ github.sha }} ${{ github.ref }}
'remote' ${{ needs.containers.outputs.node-release-cid }} ${{ github.sha }} ${{ github.ref_name }}
chmod 755 forta
- name: Configure AWS credentials (build artifact -> S3)
uses: aws-actions/configure-aws-credentials@v1
Expand All @@ -117,7 +117,7 @@ jobs:
id: release
uses: ./.github/actions/release
with:
version: ${{ github.ref }}
version: ${{ github.ref_name }}
revision: ${{ github.sha }}
aws_access_key: ${{ secrets.PROD_RELEASE_AWS_ACCESS_KEY }}
aws_secret_key: ${{ secrets.PROD_RELEASE_AWS_SECRET_KEY }}
Expand Down

0 comments on commit 358939d

Please sign in to comment.