Skip to content

chore: clean code-related to template #75

chore: clean code-related to template

chore: clean code-related to template #75

Workflow file for this run

name: docker-image
on:
push:
branches:
- master
tags:
- v*
jobs:
pack:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- uses: docker/login-action@v3
with:
registry: docker.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: docker/build-push-action@v6
with:
context: .
push: true
tags: |
${{ github.repository }}:latest
${{ github.repository }}:${{ github.ref_name }}