From ea0f8a663f0e265f52c3857834ed708d13ee27c2 Mon Sep 17 00:00:00 2001 From: Alexis Pentori Date: Thu, 1 Feb 2024 17:10:34 +0100 Subject: [PATCH] test CI Signed-off-by: Alexis Pentori --- Jenkinsfile | 3 +-- README.md | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e07aa12..87ef737 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -42,14 +42,13 @@ pipeline { stage('Build') { steps { script { image = docker.build( - "${params.IMAGE_NAME}:${params.IMAGE_TAG ?: GIT_COMMIT.take(8)}", + "${params.IMAGE_NAME}:${params.IMAGE_TAG ?: GIT_REF}", "--build-arg='GIT_COMMIT=${GIT_COMMIT.take(8)}' ." ) } } } stage('Push') { - when { expression { params.IMAGE_TAG != '' } } steps { script { withDockerRegistry([ credentialsId: params.DOCKER_CRED, url: params.DOCKER_REGISTRY_URL diff --git a/README.md b/README.md index 879d89b..b7f5e99 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,6 @@ Strapi comes with a full featured [Command Line Interface](https://docs.strapi.i ### `develop` Start your Strapi application with autoReload enabled. [Learn more](https://docs.strapi.io/dev-docs/cli#strapi-develop) - ``` npm run develop # or @@ -52,6 +51,6 @@ Feel free to check out the [Strapi GitHub repository](https://github.com/strapi/ - [Forum](https://forum.strapi.io/) - Place to discuss, ask questions and find answers, show your Strapi project and get feedback or just talk with other Community members. - [Awesome Strapi](https://github.com/strapi/awesome-strapi) - A curated list of awesome things related to Strapi. ---- +---- 🤫 Psst! [Strapi is hiring](https://strapi.io/careers).