Skip to content

fix(ci): unblock general workflow — install mockgen, apply goimports,… #44

fix(ci): unblock general workflow — install mockgen, apply goimports,…

fix(ci): unblock general workflow — install mockgen, apply goimports,… #44

Workflow file for this run

name: Publish Docker Latest
on:
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
permissions:
contents: read
jobs:
push_to_registry:
name: Push Docker image to Docker Hub Registry
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: stable
check-latest: true
cache: true
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build binary
run: make build_linux
- name: Build docker image
run: make build_docker_latest
- name: Tag docker latest
run: make tag_docker_latest
- name: Push docker image
run: make push_docker_latest