mirror of
https://github.com/azaion/flights.git
synced 2026-04-23 01:36:30 +00:00
Refactor Dockerfile and update coding standards
- Refactor Dockerfile to improve build efficiency and clarity. - Enhance coding standards in coderule.mdc for better maintainability. - Add new rules to python.mdc to improve code quality.
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
when:
|
||||||
|
branch: [stage, main]
|
||||||
|
event: push
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build-and-push
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
context: .
|
||||||
|
repo: registry:5000/flights
|
||||||
|
tags:
|
||||||
|
- "${CI_COMMIT_BRANCH}"
|
||||||
|
- "${CI_COMMIT_SHA:0:8}"
|
||||||
|
insecure: true
|
||||||
Reference in New Issue
Block a user