Signed-off-by: Alexis Pentori <alexis@status.im>
This commit is contained in:
Alexis Pentori 2024-02-01 17:10:34 +01:00
parent 8572ff5130
commit ea0f8a663f
No known key found for this signature in database
GPG Key ID: 65250D2801E47A10
2 changed files with 2 additions and 4 deletions

3
Jenkinsfile vendored
View File

@ -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

View File

@ -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.
---
----
<sub>🤫 Psst! [Strapi is hiring](https://strapi.io/careers).</sub>