Skip to content

Commit

Permalink
fix immutable
Browse files Browse the repository at this point in the history
  • Loading branch information
lassemand committed Dec 17, 2024
1 parent bc75f33 commit b88d920
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
exit 1
fi
done
authenticate-aws:
authenticate-github:
runs-on: ubuntu-latest
environment: release
needs: [build-static-binaries] # Has a TTL of 1h only
Expand Down Expand Up @@ -633,15 +633,15 @@ jobs:
genesis_ref=main
genesis_path=${{ matrix.node.genesis_path }}
environment=${{ matrix.node.env }}
notify-remote-repositories:
notify-immutable-infrastructure:
runs-on: ubuntu-latest
needs: [ node-linux, validate-preconditions, authenticate-aws ]
needs: [ node-linux, validate-preconditions, authenticate-github ]
if: contains(fromJSON('["rc", "alpha"]'), needs.validate-preconditions.outputs.release_type)
steps:
- name: Invoke immutable node release flow
run: |
curl -X POST --fail \
-H "Authorization: Bearer ${{ needs.authenticate-aws.outputs.access_token }}" \
-H "Authorization: Bearer ${{ needs.authenticate-github.outputs.access_token }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/Concordium/concordium-infra-images/actions/workflows/release-node-images.yaml/dispatches \
-d '{"ref":"main", "inputs":{"node_version": "${{ needs.validate-preconditions.outputs.version }}", "release_type": "${{ needs.validate-preconditions.outputs.release_type }}"}}'

0 comments on commit b88d920

Please sign in to comment.