GitLab CI/CD for Go Projects

Everybody knows that GitLab can be used to store our source code. But, GitLab can do more than that. Using the GitLab CI/CD we can automate our development workflow. It helps us to test, build, and deploy our code right from our repository in GitLab. That sounds great, but using the GitLab CI/CD can be confusing at first. So, in this post let’s take a look at using GitLab CI/CD for Go projects....

July 3, 2022 · 7 min · Emre Demir

How to Pull Docker Images from Amazon ECR Private Registry in Go

Pulling a docker image from Amazon ECR private registry consists of several steps; configuration, authentication, and using the right commands. In this post, let’s take a look at how to do that in Go. Prerequisites Install AWS SDK for Go go get github.com/aws/aws-sdk-go-v2 go get github.com/aws/aws-sdk-go-v2/config go get github.com/aws/aws-sdk-go-v2/credentials go get github.com/aws/aws-sdk-go-v2/service/ecr Install Docker SDK for Go go get github.com/docker/docker/client Pulling Docker Image AWS in Go First of all, we have to create a configuration object for AWS client....

January 9, 2022 · 4 min · Emre Demir