Skip to content

Commit

Permalink
Docker Image
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarof2 committed Jan 20, 2025
1 parent 96dd4f8 commit ab2468f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 21 deletions.
5 changes: 4 additions & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ version-resolver:
template: |
## What’s Changed
$CHANGES
$CHANGES
---
**Docker Image:** https://us-west1-docker.pkg.dev/devopsre/celo-blockchain-public/op-geth:$RESOLVED_VERSION.
20 changes: 0 additions & 20 deletions .github/workflows/docker-publish-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,3 @@ jobs:
# TO DO: Copy the docker image from us-west1-docker.pkg.dev/blockchaintestsglobaltestnet/dev-images/op-geth:${COMMIT_HASH}
# to https://us-west1-docker.pkg.dev/devopsre/celo-blockchain-public/op-geth:${TAG_NAME}
# Step 3: Append Tag and Commit to Release Notes
- name: Update Release Notes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Default token provided by GitHub Actions
run: |
# Get the current release notes
RELEASE_URL="${{ github.event.release.url }}"
TAG_NAME="${{ steps.get-release-info.outputs.tag }}"
COMMIT_HASH="${{ steps.get-release-info.outputs.commit }}"
CURRENT_BODY="${{ github.event.release.body }}"
# Append tag and commit to the release notes
UPDATED_NOTES="${CURRENT_BODY}\n\n---\n**Docker Image:** https://us-west1-docker.pkg.dev/devopsre/celo-blockchain-public/op-geth:${TAG_NAME}\n**Release Tag:** ${TAG_NAME}\n**Commit Hash:** ${COMMIT_HASH}"
# Update the release notes using GitHub API
curl -X PATCH \
-H "Authorization: Bearer $GITHUB_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"body\": \"$UPDATED_NOTES\"}" \
$RELEASE_URL
2 changes: 2 additions & 0 deletions .github/workflows/first-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,7 @@ jobs:
commitish: ${{ github.ref }}
body: |
Celo op-geth ${{ github.event.inputs.release_tag }} is forked from [ethereum-optimism/op-geth](https://github.com/ethereum-optimism/op-geth) ${{ github.event.inputs.forked_from }}.
**Docker Image:** https://us-west1-docker.pkg.dev/devopsre/celo-blockchain-public/op-geth:${{ github.event.inputs.release_tag }}.
draft: true
prerelease: false

0 comments on commit ab2468f

Please sign in to comment.