From 6837fd0d094ee6650fc4b613fca2c423aa4edbdc Mon Sep 17 00:00:00 2001 From: "oleh.motrunych" Date: Thu, 19 Oct 2023 15:20:16 +0200 Subject: [PATCH] updated Docker file --- .github/workflows/cicd.yml | 8 ++++---- Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 6c5c2d9..bba0800 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v1 with: - go-version: 1.20 + go-version: 1.17 id: go - name: Check out code into the Go module directory @@ -54,13 +54,13 @@ jobs: - name: Set up Go uses: actions/setup-go@v1 with: - go-version: 1.20 + go-version: 1.17 id: go - name: Run goreleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v1 with: - version: latest + version: v0.131.1 args: release --rm-dist env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/Dockerfile b/Dockerfile index 3be2a48..9dd91e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20 as build +FROM golang:1.17.2 as build LABEL org.opencontainers.image.source https://github.com/scribd/objinsync ADD . /app WORKDIR /app diff --git a/go.mod b/go.mod index 4f040e0..dae4b07 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/scribd/objinsync -go 1.20 +go 1.17 require ( github.com/aws/aws-sdk-go v1.45.28