ci: Use go 1.19 for proto build environment (#12854)

* Update Dockerfile

* Update proto-docker.yml

* Update Dockerfile

* Update proto-docker.yml

* Update proto-docker.yml

* Update CHANGELOG.md

* Update .github/workflows/proto-docker.yml

Co-authored-by: Marko <marko@baricevic.me>

* Update proto-docker.yml

Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Marko <marbar3778@yahoo.com>
This commit is contained in:
Jacob Gadikian
2022-08-08 21:43:57 +02:00
committed by GitHub
co-authored by Marko Marko
parent 048c709681
commit 1cab2bc7f4
3 changed files with 17 additions and 8 deletions
+14 -7
View File
@@ -4,7 +4,10 @@ on:
branches:
- main
paths:
- "contrib/devtools/dockerfile"
- "contrib/devtools/Dockerfile"
pull_request:
paths:
- "contrib/devtools/Dockerfile"
permissions:
contents: read
@@ -31,16 +34,20 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
if: ${{ github.event_name != 'pull_request' }}
with:
username: ${{ secrets.DOCKERHUBTM_USERNAME }}
password: ${{ secrets.DOCKERHUBTM_TOKEN }}
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to Docker Hub
- name: Publish to GHCR
uses: docker/build-push-action@v3
with:
context: ./contrib/devtools
platforms: linux/amd64,linux/arm64
push: true
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.prep.outputs.tags }}
name: ghcr.io/cosmos/proto-builder