Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] #166 - 사용하지 않는 도커이미지를 서버에서 삭제하도록 Jenkinsfile에 스크립트 추가 #167

Merged
merged 2 commits into from
Aug 9, 2024

Conversation

hoonyworld
Copy link
Member

@hoonyworld hoonyworld commented Aug 8, 2024

Related issue 🛠

Work Description ✏️

What

  • 사용하지 않는 도커이미지를 서버에서 삭제하도록 Jenkinsfile에 스크립트를 추가하였습니다.

Why

  • 불필요한 이미지가 서버 디스크에 쌓이게 되어 공간을 차지하는 상황을 자동화를 통해 방지하기 위함입니다.

Result

  • latest 이미지를 제외한 none 태그 이미지를 전부 삭제하는거 확인 완료 -2024.08.09-

Trouble Shooting ⚽️

Related ScreenShot 📷

Uncompleted Tasks 😅

To Reviewers 📢

  • ddl-auto dev서버는 update로, prod서버는 none으로 설정했습니다!

Copy link
Collaborator

@hyerinhwang-sailin hyerinhwang-sailin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

확인했습니다!

@hoonyworld hoonyworld merged commit 234e2f1 into develop Aug 9, 2024
1 check passed
@hoonyworld hoonyworld deleted the feat/#166 branch August 9, 2024 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feat] Jenkinsfile에 서버에서 사용되지 않는 도커이미지를 자동삭제 하도록 script 추가
2 participants