From f9a316558f15894d6dc61c3696209ac703657c2f Mon Sep 17 00:00:00 2001 From: heedaeshin Date: Fri, 23 Aug 2024 11:25:08 +0900 Subject: [PATCH] Add skip CD feature to workflow and update documentation for Go version upgrade --- .github/workflows/continuous-delivery.yaml | 3 +-- Dockerfile | 2 +- README.md | 2 +- docs/Datamanager-Function-Specification.md | 4 ++-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/continuous-delivery.yaml b/.github/workflows/continuous-delivery.yaml index 714f8f9..55cb008 100644 --- a/.github/workflows/continuous-delivery.yaml +++ b/.github/workflows/continuous-delivery.yaml @@ -34,8 +34,7 @@ jobs: publish-container-image: # Job name is "Publish a container image" name: Publish a container image - - if: github.repository_owner == 'cloud-barista' + if: github.repository_owner == 'cloud-barista' && !contains(github.event.head_commit.message, '[skip cd]') # This job runs on Ubuntu-latest (Ubuntu 22.04 LTS checked on 2023-12-13) # See https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners diff --git a/Dockerfile b/Dockerfile index b50b386..f50acee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ ## Stage 1 - Go Build ############################################################## -FROM golang:latest AS builder +FROM golang:1.23 AS builder WORKDIR /opt COPY . . RUN go build -o app . diff --git a/README.md b/README.md index d3a3abc..e340205 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Data Manager 데이터 마이그레이션 기술의 검증을 위한 환경을 ## Environments: * OS: Ubuntu 22.04 LTS, Windows 10 Pro -* Go: 1.21.3 +* Go: 1.23 ## Installation and Testing Guide diff --git a/docs/Datamanager-Function-Specification.md b/docs/Datamanager-Function-Specification.md index 1b167f0..3c2aa18 100644 --- a/docs/Datamanager-Function-Specification.md +++ b/docs/Datamanager-Function-Specification.md @@ -13,8 +13,8 @@ ## 사전 준비 -- linux (ubuntu 20.04) 대상 -- [Golang 1.21.3](https://go.dev/dl/) 설치 +- linux (ubuntu 22.04) 대상 +- [Golang 1.23](https://go.dev/dl/) 설치 - CSP별 인증 정보 - [aws](https://docs.aws.amazon.com/ko_kr/IAM/latest/UserGuide/id_credentials_access-keys.html#Using_CreateAccessKey) - [gcp](https://developers.google.com/workspace/guides/create-credentials?hl=ko)