Skip to content

Commit

Permalink
Update manifest.yml to use tag rather than sha (#327)
Browse files Browse the repository at this point in the history
* Use github.ref_name for manifest git_ref

* Use ref_name for ctc check as well
  • Loading branch information
joshwlewis authored Oct 28, 2024
1 parent 5b37dd9 commit 2863716
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
path: /tmp/heroku-${{ matrix.stack-version }}*
- name: Upload heroku runtime images to staging
run: |
bin/upload-runtime-images.sh ${{ matrix.stack-version }} ${{ github.sha }}
bin/upload-runtime-images.sh ${{ matrix.stack-version }} ${{ github.ref_name }}
publish-images:
if: github.ref_name == 'main' || github.ref_type == 'tag'
Expand Down Expand Up @@ -209,7 +209,7 @@ jobs:
-H "ACCEPT: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Token ${{ secrets.TPS_TOKEN }}" \
-d '{"lock": {"sha": "${{ github.sha }}", "component_name": "${{ vars.tps_component }}"}}' \
-d '{"lock": {"sha": "${{ github.ref_name }}", "component_name": "${{ vars.tps_component }}"}}' \
"${{ secrets.TPS_CTC_API_URL }}"
promote-tags:
Expand Down

0 comments on commit 2863716

Please sign in to comment.