chore: Use push to dockerhub instead of ecr-to-docker task in release… #451
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go | |
on: | |
push: | |
branches: [ master ] | |
env: | |
GOLANG_VERSION: '1.20' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GOLANG_VERSION }} | |
- name: Build | |
run: make build | |
- name: Test | |
run: make test | |
- name: Upload codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
file: coverage.out |