Compare commits

...
Author SHA1 Message Date
Abdul Rabbani 4e948c58ce Merge pull request #93 from vulcanize/feature/update-go
Update the go-version in build container
2022-06-20 09:28:10 -04:00
Abdul Rabbani 65b7bee7a6 Update the go-version in build container 2022-06-20 09:23:39 -04:00
nabarun 48eb594ea9 Fix docker-compose for publishing image (#91)
* Fix docker-compose for publishing image

* Add docker build in pr workflow
2022-06-14 13:03:22 +05:30
5 changed files with 12 additions and 6 deletions
+7
View File
@@ -3,6 +3,13 @@ name: Docker Build
on: [pull_request]
jobs:
build:
name: Run docker build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run docker build
run: make docker-build
test:
# Add a dummy job to avoid failing GitHub CI checks.
# Other checks to be added later.
+1 -1
View File
@@ -1,4 +1,4 @@
FROM golang:1.16-alpine as builder
FROM golang:1.18-alpine as builder
RUN apk --update --no-cache add make git g++ linux-headers
+1 -1
View File
@@ -115,7 +115,7 @@ import:
## Build docker image with schema
.PHONY: docker-build
docker-build:
docker-compose build
docker-compose -f docker-compose.test.yml build
## Build docker image for migration
.PHONY: docker-concise-migration-build
+1 -1
View File
@@ -1,4 +1,4 @@
FROM golang:1.16-alpine as builder
FROM golang:1.18-alpine as builder
RUN apk --update --no-cache add make git g++ linux-headers
+2 -3
View File
@@ -5,10 +5,9 @@ services:
restart: on-failure
depends_on:
- ipld-eth-db
image: vulcanize/ipld-eth-db
# Build image using local context
build:
context: .
dockerfile: Dockerfile
build: .
environment:
DATABASE_USER: "vdbm"
DATABASE_NAME: "vulcanize_testing"