diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 9a00b79..ceb25c3 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -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/request-action@v2.x - 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/request-action@v2.x - 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