Skip to content

Commit

Permalink
Merge pull request #78 from faddat/golang
Browse files Browse the repository at this point in the history
use go 1.19
  • Loading branch information
emidev98 authored Feb 1, 2023
2 parents f99ab38 + e148cd0 commit fe9a716
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 3 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: docker

on:
push:
branches:
- 'main'

jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to GHCR
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

-
name: Build and push
uses: docker/build-push-action@v4
with:
file: scripts/containers/Dockerfile
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: user/app:latest
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ By design, x/alliance use the following CosmosSDK modules to implement interchai


# Development environment
This project uses [Go v1.18](https://go.dev/dl/) and was bootstrapped with [Ignite CLI v0.25.1](https://docs.ignite.com/). However, for ease of upgrade, ignite has been removed in favor of manual workflows.
This project uses [Go v1.19](https://go.dev/dl/) and was bootstrapped with [Ignite CLI v0.25.1](https://docs.ignite.com/). However, for ease of upgrade, ignite has been removed in favor of manual workflows.

To run the local development environment use:
```
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/terra-money/alliance

go 1.18
go 1.19

require (
cosmossdk.io/errors v1.0.0-beta.7
Expand Down
2 changes: 1 addition & 1 deletion scripts/containers/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.18.7-bullseye AS build
FROM golang:1.19-bullseye AS build

RUN apt update && apt install jq build-essential -y

Expand Down

0 comments on commit fe9a716

Please sign in to comment.