Skip to content

Commit

Permalink
dogechain public rpc adaptation
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcb9ff9 committed Jun 5, 2023
1 parent bace507 commit 4955799
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 187 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/audit.yml

This file was deleted.

62 changes: 62 additions & 0 deletions .github/workflows/build_image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@

name: Continuous Integration

on:
push:
tags:
- "v*.*.*"

env:
RELEASE_VERSION: ${GITHUB_REF#refs/*/}

jobs:
release:
name: Build docker image
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

# https://github.com/actions/checkout/issues/1169
- name: Workaround Git Security Warning
run: |
# Workaround a bug in github actions:
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
platforms: linux/amd64

- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: dogechainlab/graph-node
tags: |
type=ref,event=tag
type=sha,format=long
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USER_NAME }}
password: ${{ secrets.DOCKER_USER_PASSWORD }}

- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
context: .
file: docker/Dockerfile
tags: ${{ steps.meta.outputs.tags }}
build-args: |
COMMIT_SHA=${GITHUB_SHA}
REPO_NAME=${GITHUB_REPOSITORY}
BRANCH_NAME=${env.GITHUB_REF_NAME}
TAG_NAME=${env.RELEASE_VERSION}
169 changes: 0 additions & 169 deletions .github/workflows/ci.yml

This file was deleted.

2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
graph-node:
image: "ghcr.io/dogechain-lab/graph-node:v0.29.0"
image: "dogechainlab/graph-node:v0.29.0"
ports:
- '8000:8000'
- '8001:8001'
Expand Down

0 comments on commit 4955799

Please sign in to comment.