From 11e3ff3220ff93b85a9fde0db75e4061930a4c09 Mon Sep 17 00:00:00 2001 From: Alex Serheyev <74361701+alex-dna-tech@users.noreply.github.com> Date: Wed, 25 Feb 2026 02:57:26 +0200 Subject: [PATCH 1/9] =?UTF-8?q?=F0=9F=91=B7feat(ci):=20add=20artifact=20an?= =?UTF-8?q?d=20docker=20releases?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 44 ++++++++++++ .goreleaser.yaml | 129 ++++++++++++++++++++++++++++++++++ Dockerfile | 26 +++++++ Makefile | 26 ++++++- 4 files changed, 224 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/release.yml create mode 100644 .goreleaser.yaml create mode 100644 Dockerfile diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000000..9a0d75c7be --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,44 @@ +name: goreleaser + +on: + push: + tags: + - 'v*.*.*' + +permissions: + contents: write + packages: write + +jobs: + goreleaser: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: stable + - + name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + - + name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Run GoReleaser + uses: goreleaser/goreleaser-action@v7 + with: + distribution: goreleaser + version: "~> v5" + args: release --clean + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml new file mode 100644 index 0000000000..adf356dfe6 --- /dev/null +++ b/.goreleaser.yaml @@ -0,0 +1,129 @@ +# yaml-language-server: $schema=https://goreleaser.com/static/schema.json +# vim: set ts=2 sw=2 tw=0 fo=cnqoj + +version: 2 + +before: + hooks: + - go mod tidy + +builds: + - main: ./cmd/micro + id: micro + binary: micro + env: + - CGO_ENABLED=0 + - >- + {{- if eq .Os "darwin" }} + {{- if eq .Arch "amd64"}}CC=o64-clang{{- end }} + {{- if eq .Arch "arm64"}}CC=aarch64-apple-darwin20.2-clang{{- end }} + {{- end }} + {{- if eq .Os "windows" }} + {{- if eq .Arch "amd64" }}CC=x86_64-w64-mingw32-gcc{{- end }} + {{- end }} + goos: + - linux + - windows + - darwin + goarch: + - 386 + - amd64 + - arm + - arm64 + goarm: + - 7 + ignore: + - goos: windows + goarch: arm + - goos: darwin + goarch: 386 + - goos: linux + goarch: 386 + + - main: ./cmd/protoc-gen-micro + id: protoc-gen-micro + binary: protoc-gen-micro + env: + - CGO_ENABLED=0 + - >- + {{- if eq .Os "darwin" }} + {{- if eq .Arch "amd64"}}CC=o64-clang{{- end }} + {{- if eq .Arch "arm64"}}CC=aarch64-apple-darwin20.2-clang{{- end }} + {{- end }} + {{- if eq .Os "windows" }} + {{- if eq .Arch "amd64" }}CC=x86_64-w64-mingw32-gcc{{- end }} + {{- end }} + goos: + - linux + - windows + - darwin + goarch: + - 386 + - amd64 + - arm + - arm64 + goarm: + - 7 + ignore: + - goos: windows + goarch: arm + - goos: darwin + goarch: 386 + - goos: linux + goarch: 386 + +archives: + - formats: [tar.gz] + name_template: >- + {{ .ProjectName }}_ + {{- title .Os }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else }}{{ .Arch }}{{ end }} + {{- if .Arm }}v{{ .Arm }}{{ end }} + + format_overrides: + - goos: windows + formats: [zip] + +report_sizes: true + +changelog: + sort: asc + filters: + exclude: + - "^docs:" + - "^test:" + +dockers_v2: + - + ids: + - micro + - protoc-gen-micro + images: + - "dnat4/micro" + - "ghcr.io/alex-dna-tech/micro" + tags: + - "v{{ .Version }}" + - "{{ if .IsNightly }}nightly{{ end }}" + - "{{ if not .IsNightly }}latest{{ end }}" + labels: + "io.artifacthub.package.readme-url": "https://raw.githubusercontent.com/micro/go-micro/refs/heads/master/README.md" + "io.artifacthub.package.logo-url": "https://www.gravatar.com/avatar/09d1da3ea9ee61753219a19016d6a672?s=120&r=g&d=404" + "org.opencontainers.image.description": "A Go Platform built for Developers" + "org.opencontainers.image.created": "{{.Date}}" + "org.opencontainers.image.title": "{{.ProjectName}}" + "org.opencontainers.image.revision": "{{.FullCommit}}" + "org.opencontainers.image.version": "{{.Version}}" + "org.opencontainers.image.source": "{{.GitURL}}" + "org.opencontainers.image.url": "{{.GitURL}}" + "org.opencontainers.image.licenses": "MIT" + + platforms: + - linux/amd64 + - linux/arm64 + + retry: + attempts: 5 + delay: 5s + max_delay: 2m diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000..22e40e2a81 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,26 @@ +FROM alpine:latest +ARG TARGETPLATFORM +ENV USER=micro +ENV GROUPNAME=$USER +ARG UID=1001 +ARG GID=1001 +RUN addgroup --gid "$GID" "$GROUPNAME" \ + && adduser \ + --disabled-password \ + --gecos "" \ + --home "/micro" \ + --ingroup "$GROUPNAME" \ + --no-create-home \ + --uid "$UID" "$USER" + +ENV PATH /usr/local/go/bin:$PATH +RUN apk --no-cache add git make curl +COPY --from=golang:1.26.0-alpine /usr/local/go /usr/local/go + +COPY $TARGETPLATFORM/micro /usr/local/go/bin/ +COPY $TARGETPLATFORM/protoc-gen-micro /usr/local/go/bin/ + +WORKDIR /micro +EXPOSE 8080 +ENTRYPOINT ["/usr/local/go/bin/micro"] +CMD ["server"] diff --git a/Makefile b/Makefile index 4f444703a7..fa5b4a338d 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,14 @@ -.PHONY: test test-race test-coverage lint fmt install-tools proto clean help +NAME = micro +GIT_COMMIT = $(shell git rev-parse --short HEAD) +GIT_TAG = $(shell git describe --abbrev=0 --tags --always --match "v*") +GIT_IMPORT = go-micro.dev/v5/cmd/micro +BUILD_DATE = $(shell date +%s) +LDFLAGS = -X $(GIT_IMPORT).BuildDate=$(BUILD_DATE) -X $(GIT_IMPORT).GitCommit=$(GIT_COMMIT) -X $(GIT_IMPORT).GitTag=$(GIT_TAG) + +# GORELEASER_DOCKER_IMAGE = ghcr.io/goreleaser/goreleaser-cross:v1.25.7 +GORELEASER_DOCKER_IMAGE = ghcr.io/goreleaser/goreleaser:latest + +.PHONY: test test-race test-coverage lint fmt install-tools proto clean help gorelease-dry-run gorelease-dry-run-docker # Default target help: @@ -13,6 +23,9 @@ help: @echo " make proto - Generate protobuf code" @echo " make clean - Clean build artifacts" +$(NAME): + CGO_ENABLED=0 go build -ldflags "-s -w ${LDFLAGS}" -o $(NAME) cmd/micro/main.go + # Run tests test: go test -v ./... @@ -56,3 +69,14 @@ clean: find . -name "*.test" -type f -delete go clean -cache -testcache +# Try binary release +gorelease-dry-run: + docker run \ + --rm \ + -e CGO_ENABLED=0 \ + -v $(CURDIR):/$(NAME) \ + -v /var/run/docker.sock:/var/run/docker.sock \ + -w /$(NAME) \ + $(GORELEASER_DOCKER_IMAGE) \ + --clean --verbose --skip=publish,validate --snapshot + From cbe020c9fe5b864cf05090469bf40205c13eae3f Mon Sep 17 00:00:00 2001 From: Alex Serheyev <74361701+alex-dna-tech@users.noreply.github.com> Date: Wed, 25 Feb 2026 03:14:41 +0200 Subject: [PATCH 2/9] =?UTF-8?q?=F0=9F=92=9Afix(ci):=20build=20issues?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9a0d75c7be..9520a3536a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,11 +13,13 @@ jobs: goreleaser: runs-on: ubuntu-latest steps: - - name: Checkout + - + name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Set up Go + - + name: Set up Go uses: actions/setup-go@v5 with: go-version: stable @@ -34,11 +36,15 @@ jobs: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Run GoReleaser + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - + name: Run GoReleaser uses: goreleaser/goreleaser-action@v7 with: distribution: goreleaser - version: "~> v5" + version: '~> v2' args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From ac3297bb2e1bc8c2a6cabecec77b932583ecf329 Mon Sep 17 00:00:00 2001 From: Alex Serheyev <74361701+alex-dna-tech@users.noreply.github.com> Date: Wed, 25 Feb 2026 12:34:03 +0200 Subject: [PATCH 3/9] =?UTF-8?q?=F0=9F=92=9Afix(ci):=20add=20permissions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 12 ++++++++---- Dockerfile | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9520a3536a..7db56dbeba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,8 +7,9 @@ on: permissions: contents: write + id-token: write packages: write - + attestations: write jobs: goreleaser: runs-on: ubuntu-latest @@ -23,6 +24,12 @@ jobs: uses: actions/setup-go@v5 with: go-version: stable + - + name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 - name: Login to Docker Hub uses: docker/login-action@v3 @@ -36,9 +43,6 @@ jobs: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v7 diff --git a/Dockerfile b/Dockerfile index 22e40e2a81..a2576e4faf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN addgroup --gid "$GID" "$GROUPNAME" \ --no-create-home \ --uid "$UID" "$USER" -ENV PATH /usr/local/go/bin:$PATH +ENV PATH=/usr/local/go/bin:$PATH RUN apk --no-cache add git make curl COPY --from=golang:1.26.0-alpine /usr/local/go /usr/local/go From da81c41ec6399ea3db9cee597c42db6760c34426 Mon Sep 17 00:00:00 2001 From: Alex Serheyev <74361701+alex-dna-tech@users.noreply.github.com> Date: Wed, 25 Feb 2026 12:58:05 +0200 Subject: [PATCH 4/9] =?UTF-8?q?=F0=9F=92=9Afix(ci):=20multiple=20artifacts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .goreleaser.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index adf356dfe6..b7babee5c7 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -75,7 +75,7 @@ builds: archives: - formats: [tar.gz] name_template: >- - {{ .ProjectName }}_ + {{ .Binary }}_ {{- title .Os }}_ {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386 From d8f54bc32c42d01209a4ec6c4c21e26e6fff79fd Mon Sep 17 00:00:00 2001 From: Alex Serheyev <74361701+alex-dna-tech@users.noreply.github.com> Date: Wed, 25 Feb 2026 22:17:18 +0200 Subject: [PATCH 5/9] =?UTF-8?q?=F0=9F=92=9Afix(ci):=20split=20archives?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 3 --- .goreleaser.yaml | 23 ++++++++++++++++++++++- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7db56dbeba..17aaceb287 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,9 +24,6 @@ jobs: uses: actions/setup-go@v5 with: go-version: stable - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 diff --git a/.goreleaser.yaml b/.goreleaser.yaml index b7babee5c7..25bafb9353 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -73,7 +73,10 @@ builds: goarch: 386 archives: - - formats: [tar.gz] + - id: micro + ids: + - micro + formats: [tar.gz] name_template: >- {{ .Binary }}_ {{- title .Os }}_ @@ -81,7 +84,25 @@ archives: {{- else if eq .Arch "386" }}i386 {{- else }}{{ .Arch }}{{ end }} {{- if .Arm }}v{{ .Arm }}{{ end }} + files: + - none* + format_overrides: + - goos: windows + formats: [zip] + - id: protoc-gen-micro + ids: + - protoc-gen-micro + formats: [tar.gz] + name_template: >- + {{ .Binary }}_ + {{- title .Os }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else }}{{ .Arch }}{{ end }} + {{- if .Arm }}v{{ .Arm }}{{ end }} + files: + - none* format_overrides: - goos: windows formats: [zip] From c639e673ef3f8df82c21c8cfd32e8c0f5834c05a Mon Sep 17 00:00:00 2001 From: Alex Serheyev <74361701+alex-dna-tech@users.noreply.github.com> Date: Fri, 6 Mar 2026 11:22:41 +0200 Subject: [PATCH 6/9] =?UTF-8?q?=F0=9F=92=9Afix(ci):=20cross=20platform=20l?= =?UTF-8?q?ist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .goreleaser.yaml | 18 ++---------------- internal/website/install.sh | 6 +++--- 2 files changed, 5 insertions(+), 19 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 25bafb9353..3ff3dc94f0 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -26,7 +26,6 @@ builds: - windows - darwin goarch: - - 386 - amd64 - arm - arm64 @@ -35,10 +34,6 @@ builds: ignore: - goos: windows goarch: arm - - goos: darwin - goarch: 386 - - goos: linux - goarch: 386 - main: ./cmd/protoc-gen-micro id: protoc-gen-micro @@ -58,7 +53,6 @@ builds: - windows - darwin goarch: - - 386 - amd64 - arm - arm64 @@ -67,10 +61,6 @@ builds: ignore: - goos: windows goarch: arm - - goos: darwin - goarch: 386 - - goos: linux - goarch: 386 archives: - id: micro @@ -80,9 +70,7 @@ archives: name_template: >- {{ .Binary }}_ {{- title .Os }}_ - {{- if eq .Arch "amd64" }}x86_64 - {{- else if eq .Arch "386" }}i386 - {{- else }}{{ .Arch }}{{ end }} + {{ .Arch }} {{- if .Arm }}v{{ .Arm }}{{ end }} files: - none* @@ -97,9 +85,7 @@ archives: name_template: >- {{ .Binary }}_ {{- title .Os }}_ - {{- if eq .Arch "amd64" }}x86_64 - {{- else if eq .Arch "386" }}i386 - {{- else }}{{ .Arch }}{{ end }} + {{ .Arch }} {{- if .Arm }}v{{ .Arm }}{{ end }} files: - none* diff --git a/internal/website/install.sh b/internal/website/install.sh index a05240f8ec..f0c8838e0f 100755 --- a/internal/website/install.sh +++ b/internal/website/install.sh @@ -12,14 +12,14 @@ ARCH=$(uname -m) case $ARCH in x86_64|amd64) ARCH="amd64" ;; aarch64|arm64) ARCH="arm64" ;; - armv7l) ARCH="arm" ;; + armv7l) ARCH="armv7" ;; *) echo "Unsupported architecture: $ARCH"; exit 1 ;; esac # Normalize OS case $OS in - darwin) OS="darwin" ;; - linux) OS="linux" ;; + darwin) OS="Darwin" ;; + linux) OS="Linux" ;; *) echo "Unsupported OS: $OS"; exit 1 ;; esac From 906465636f9f5d4dbd121cdfb322ce560639f99d Mon Sep 17 00:00:00 2001 From: Alex Serheyev <74361701+alex-dna-tech@users.noreply.github.com> Date: Fri, 6 Mar 2026 11:48:27 +0200 Subject: [PATCH 7/9] =?UTF-8?q?=F0=9F=9A=A7chore(ci):=20package=20name?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .goreleaser.yaml | 8 ++++---- internal/website/install.sh | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 3ff3dc94f0..c0579efe95 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -69,8 +69,8 @@ archives: formats: [tar.gz] name_template: >- {{ .Binary }}_ - {{- title .Os }}_ - {{ .Arch }} + {{- .Os }}_ + {{- .Arch }} {{- if .Arm }}v{{ .Arm }}{{ end }} files: - none* @@ -84,8 +84,8 @@ archives: formats: [tar.gz] name_template: >- {{ .Binary }}_ - {{- title .Os }}_ - {{ .Arch }} + {{- .Os }}_ + {{- .Arch }} {{- if .Arm }}v{{ .Arm }}{{ end }} files: - none* diff --git a/internal/website/install.sh b/internal/website/install.sh index f0c8838e0f..bb5fe7353a 100755 --- a/internal/website/install.sh +++ b/internal/website/install.sh @@ -18,8 +18,8 @@ esac # Normalize OS case $OS in - darwin) OS="Darwin" ;; - linux) OS="Linux" ;; + darwin) OS="darwin" ;; + linux) OS="linux" ;; *) echo "Unsupported OS: $OS"; exit 1 ;; esac From b7dfc53bddeec7f61d99e79da75bdcf59309e92a Mon Sep 17 00:00:00 2001 From: Alex Serheyev <74361701+alex-dna-tech@users.noreply.github.com> Date: Fri, 6 Mar 2026 12:35:39 +0200 Subject: [PATCH 8/9] =?UTF-8?q?=F0=9F=90=9Bfix(script):=20install=20script?= =?UTF-8?q?=20extract=20arch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/website/install.sh | 39 +++++++++++++++++++++++++++++++------ 1 file changed, 33 insertions(+), 6 deletions(-) diff --git a/internal/website/install.sh b/internal/website/install.sh index bb5fe7353a..512f0873ac 100755 --- a/internal/website/install.sh +++ b/internal/website/install.sh @@ -35,25 +35,52 @@ echo "Installing micro ${VERSION} for ${OS}/${ARCH}..." # Download URL if [ "$VERSION" = "latest" ]; then - URL="https://github.com/micro/go-micro/releases/latest/download/micro-${OS}-${ARCH}" + URL="https://github.com/micro/go-micro/releases/latest/download/micro_${OS}_${ARCH}.tar.gz" else - URL="https://github.com/micro/go-micro/releases/download/${VERSION}/micro-${OS}-${ARCH}" + URL="https://github.com/micro/go-micro/releases/download/${VERSION}/micro_${OS}_${ARCH}.tar.gz" fi +# Create temp directory for extraction +TMP_DIR=$(mktemp -d) +TMP_FILE="${TMP_DIR}/micro.tar.gz" + # Download -TMP_FILE=$(mktemp) if command -v curl &> /dev/null; then curl -fsSL "$URL" -o "$TMP_FILE" elif command -v wget &> /dev/null; then wget -q "$URL" -O "$TMP_FILE" else echo "Error: curl or wget required" + rm -rf "$TMP_DIR" exit 1 fi -# Install -chmod +x "$TMP_FILE" -mv "$TMP_FILE" "$INSTALL_DIR/micro" +# Extract and install +tar -xzf "$TMP_FILE" -C "$TMP_DIR" + +# Handle different archive structures (binary at root or in subdirectory) +if [ -f "${TMP_DIR}/micro" ]; then + BINARY_PATH="${TMP_DIR}/micro" +elif [ -f "${TMP_DIR}/micro_${OS}_${ARCH}/micro" ]; then + BINARY_PATH="${TMP_DIR}/micro_${OS}_${ARCH}/micro" +else + # Try to find any executable named 'micro' in the extracted content + BINARY_PATH=$(find "$TMP_DIR" -name "micro" -type f -executable | head -n1) +fi + +if [ -z "$BINARY_PATH" ] || [ ! -f "$BINARY_PATH" ]; then + echo "Error: Could not find micro binary in archive" + echo "Archive contents:" + tar -tzf "$TMP_FILE" + rm -rf "$TMP_DIR" + exit 1 +fi + +chmod +x "$BINARY_PATH" +mv "$BINARY_PATH" "$INSTALL_DIR/micro" + +# Cleanup +rm -rf "$TMP_DIR" echo "" echo "✓ Installed micro to $INSTALL_DIR/micro" From a17acccb5b443f4bdfca7a28e3a5123dda91a186 Mon Sep 17 00:00:00 2001 From: Alex Serheyev <74361701+alex-dna-tech@users.noreply.github.com> Date: Fri, 6 Mar 2026 15:01:12 +0200 Subject: [PATCH 9/9] =?UTF-8?q?=F0=9F=91=B7fix(ci):=20docker=20origin=20go?= =?UTF-8?q?-micro?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .goreleaser.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index c0579efe95..ab966d00aa 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -108,8 +108,8 @@ dockers_v2: - micro - protoc-gen-micro images: - - "dnat4/micro" - - "ghcr.io/alex-dna-tech/micro" + - "micro/micro" + - "ghcr.io/go-micro/micro" tags: - "v{{ .Version }}" - "{{ if .IsNightly }}nightly{{ end }}"