botkube/pkg
Prasad Ghangal f349853c51
Publish multi-arch images with goreleaser (#509)
##### ISSUE TYPE
 - Feature Pull Request

##### SUMMARY
- Switch to goreleaser for building and publishing release
- Set BotKube version with build args
- Use docker manifest to build multi-arch image
- Update CI pipeline to build and push image using goreleaser

Fixes #504 

```
$ docker manifest inspect ghcr.io/prasadg193/botkube:latest
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1370,
         "digest": "sha256:64d94709256eb85452afa06aa15574724266fa6b82b70654ff6b03c467d5a5e4",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1160,
         "digest": "sha256:525d79e629637fd1ae3530223fa380aea26ed299a1fd9ae2787721f4cc33dad5",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1160,
         "digest": "sha256:ef72bc09078929c8aed1161f86c2c86523f6fac664094a034c737ffd582f3ea7",
         "platform": {
            "architecture": "arm64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1160,
         "digest": "sha256:990cd2c6b522a3a69ba73ee83ed0ae306102369f02d09891de8fbfd024d37e87",
         "platform": {
            "architecture": "arm",
            "os": "linux",
            "variant": "v7"
         }
      }
   ]
}

```
2021-08-19 10:56:22 +05:30
..
bot allow configration of Mattermost Username (#455) 2021-05-21 13:57:13 +00:00
config Allow skipping certs validation of Elastic (#487) 2021-07-02 09:25:06 +05:30
controller Publish multi-arch images with goreleaser (#509) 2021-08-19 10:56:22 +05:30
events Fix namespace checker filter (#449) 2021-01-20 06:49:48 +00:00
execute Publish multi-arch images with goreleaser (#509) 2021-08-19 10:56:22 +05:30
filterengine Update Go and pkg deps (#475) 2021-04-24 20:06:01 +05:30
log Refactor logging package (#262) (#285) 2020-06-16 04:43:56 +00:00
metrics Add license headers to source files (#266) 2020-04-27 09:20:16 +05:30
notify Allow skipping certs validation of Elastic (#487) 2021-07-02 09:25:06 +05:30
utils Test and document adding updateSetting for complex annotation keys (#491) 2021-07-02 03:09:00 +00:00
version Publish multi-arch images with goreleaser (#509) 2021-08-19 10:56:22 +05:30