Skip to content

refactor config and move Host to config #64

refactor config and move Host to config

refactor config and move Host to config #64

Workflow file for this run

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