-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f526f71
commit 699ae5e
Showing
1 changed file
with
0 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,31 +17,8 @@ jobs: | |
- name: Collect build context | ||
id: context | ||
run: | | ||
echo "date=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> "$GITHUB_OUTPUT" | ||
echo "version=$(< VERSION)" >> "$GITHUB_OUTPUT" | ||
- name: Get monero tag ref | ||
id: get_release_ref | ||
uses: octokit/[email protected] | ||
with: | ||
route: GET /repos/monero-project/monero/git/refs/tags/${{ steps.context.outputs.version }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Get monero commit ref url | ||
id: get_commit_ref_url | ||
run: | | ||
URL="${{ fromJson(steps.get_release_ref.outputs.data).object.url }}" | ||
echo "ref_url=${URL/https:\/\/api.github.com}" >> "$GITHUB_OUTPUT" | ||
- name: Get monero commit ref | ||
id: get_commit_ref | ||
uses: octokit/[email protected] | ||
with: | ||
route: GET ${{ steps.get_commit_ref_url.outputs.ref_url }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Docker metadata mapping | ||
id: meta | ||
uses: docker/metadata-action@v5 | ||
|