diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b1094aa9a..216e91a1e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,10 +1,25 @@ image: python:3.13 stages: + - prepare - build - deploy - promote +lint: + stage: prepare + script: + # Configurations + - set +x + # Run lint workflows + - | + grep 'run: ' ./.github/workflows/lint.yml | sed 's/.* run: //g' | while read -r command; do + echo ' ' + echo "- ${command}" + echo ' ' + sh -c "${command}" || exit 1 + done + build-images: stage: build image: @@ -27,7 +42,7 @@ build-images: deploy-images: stage: deploy - image: + image: name: mplatform/manifest-tool:alpine-v2.0.4@sha256:38b399ff66f9df247af59facceb7b60e2cd01c2d649aae318da7587efb4bbf87 entrypoint: [""] script: