github.com/shoshinnikita/budget-manager@v0.7.1-0.20220131195411-8c46ff1c6778/.goreleaser.master.yml (about)

     1  # This config is used to build code and publish Docker images on push to the master branch
     2  project_name: budget-manager
     3  
     4  release:
     5    disable: true
     6  
     7  changelog:
     8    skip: true
     9  
    10  builds:
    11    - skip: true
    12  
    13  dockers:
    14    - dockerfile: Dockerfile
    15      image_templates:
    16        - "ghcr.io/shoshinnikita/{{ .ProjectName }}:master"
    17      build_flag_templates:
    18        - "--build-arg=LDFLAGS=-s -w -X 'main.version=master' -X 'main.gitHash={{ .ShortCommit }}'"
    19      extra_files:
    20        # Dirs
    21        - cmd/
    22        - internal/
    23        - static/
    24        - templates/
    25        - vendor/
    26        # Files
    27        - go.mod
    28        - go.sum