Compare commits

..

8 Commits

Author SHA1 Message Date
c8c5364090 .
Some checks failed
ci/woodpecker/push/other Pipeline failed
2025-12-19 22:31:11 +09:00
c2b668ddb8 .
Some checks failed
ci/woodpecker/push/other Pipeline failed
2025-12-19 22:24:42 +09:00
972da435b6 .
Some checks failed
ci/woodpecker/push/other Pipeline failed
2025-12-19 22:20:33 +09:00
050cfee7c0 .
Some checks failed
ci/woodpecker/push/other Pipeline failed
2025-12-19 22:13:03 +09:00
0c8e44a85b 1
Some checks failed
ci/woodpecker/push/other Pipeline failed
2025-12-19 22:10:54 +09:00
김진수
cb0bfe0946 image
Some checks failed
ci/woodpecker/push/other Pipeline failed
2025-12-19 10:18:21 +09:00
2a541b9b5a image
Some checks failed
ci/woodpecker/push/other Pipeline failed
2025-12-19 01:21:46 +09:00
0993e71351 image
Some checks failed
ci/woodpecker/push/other Pipeline failed
2025-12-19 01:19:53 +09:00

View File

@@ -1,22 +1,16 @@
steps: steps:
- name: build-and-push-branch - name: build-and-push-branch
image: ko:latest image: cgr.dev/chainguard/ko:latest
# environment: environment:
# KO_DOCKER_REPO: KO_DOCKER_REPO:
# from_secret: KO_DOCKER_REPO from_secret: KO_DOCKER_REPO
# DOCKER_CONFIG: GOFLAGS: "-buildvcs=false"
# from_secret: DOCKER_CONFIG_JSON
commands: commands:
# 도커 로그인 설정 # 안전한 브랜치 이름 치환 (e.g. "/" → "-")
# - mkdir -p /root/.docker - SAFE_BRANCH=$(echo "$CI_COMMIT_BRANCH" | tr '/' '-')
# - echo "$DOCKER_CONFIG" > /root/.docker/config.json
# # 안전한 브랜치 이름 치환 (e.g. "/" → "-")
# - SAFE_BRANCH=$(echo "$CI_COMMIT_BRANCH" | tr '/' '-')
# short SHA (7자리) 기반 태그 생성 # short SHA (7자리) 기반 태그 생성
- TAG="${SAFE_BRANCH}-${CI_COMMIT_SHA:0:7}" - TAG="${SAFE_BRANCH}-${CI_COMMIT_SHA:0:7}"
# 이미지 빌드 및 push # 이미지 빌드 및 push (VCS stamping 활성화)
- ko build ./cmd/app --bare --tags "$TAG" - ko build ./cmd/seven-skies --tags "$TAG"