Skip to content

Commit

Permalink
Merge pull request #1 from aurora-is-near/arm64
Browse files Browse the repository at this point in the history
Arm64
  • Loading branch information
spilin authored Dec 18, 2024
2 parents 74bbb63 + 1cae7f8 commit c82ebe3
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 4 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: CI
on:
push:
branches:
- master
pull_request:

permissions:
contents: read
checks: write

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.23'
cache: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.61

build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.23'
cache: true
- name: Install dependencies
run: go mod download
- name: Build application
run: go build -v .
- name: Run tests
run: go test -v ./...
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
config/local.yaml
config/docker-compose.yaml
docker-compose.yaml
.DS_Store
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ The service can be deployed using Docker Compose. Below is an example configurat
```yaml
services:
blockscout-vc-sidecar:
sidecar:
image: ghcr.io/aurora-is-near/blockscout-vc:latest
container_name: blockscout-vc
container_name: sidecar
pull_policy: always
command: ["--config", "/app/config/local.yaml"]
command: ["sh", "-c", "/app/app --config /app/config/local.yaml"]
volumes:
- ./config:/app/config
- /var/run/docker.sock:/var/run/docker.sock
Expand Down

0 comments on commit c82ebe3

Please sign in to comment.