Skip to content

Commit

Permalink
updated Docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
oleh-motrunych committed Oct 19, 2023
1 parent b42ca32 commit 6837fd0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 6837fd0

Please sign in to comment.