Author SHA1 Message Date
opencodecabilloteu 5494947035 ci(tag): dispatch Renovate on tf-depl-kubernetes once the release image is pushed
PR Checks / hadolint (pull_request) Successful in 15s
PR Checks / build-test (pull_request) Successful in 1m55s
A release only reached perso_private/tf-depl-kubernetes on the next hourly
Renovate scan, so the image bump PR could lag up to an hour behind the tag.

After the image push completes, dispatch that repo's Renovate workflow through
the Gitea API (workflow_dispatch is already enabled there). It authenticates
with the RENOVATE_TOKEN org secret of this organisation — the same token the
Renovate instance itself uses, no extra credential. The job fails loudly so a
rotated token shows up instead of the trigger silently going missing.
2026-10-18 13:23:56 -04:00
opencodecabilloteu 341ab7f3ed Merge pull request 'chore(deps): update docker/setup-buildx-action digest to f87e599' (#29) from renovate/docker-setup-buildx-action-digest into master
Main Release / hadolint (push) Successful in 7s
Main Release / test (push) Successful in 18s
Renovate / renovate (push) Successful in 38s
Main Release / build (push) Successful in 15s
Main Release / tag (push) Successful in 12s
Tag Release / hadolint (push) Successful in 8s
Tag Release / test (push) Successful in 19s
Tag Release / build-push (push) Successful in 1m23s
2026-09-18 05:00:31 -04:00
renovate 07e1bf6465 chore(deps): update docker/setup-buildx-action digest to f87e599
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 10s
PR Checks / build-test (pull_request) Successful in 26s
2026-09-18 08:31:01 +00:00
opencodecabilloteu b1aa38a094 Merge pull request 'chore(deps): update docker/build-push-action action to v7.4.0' (#28) from renovate/docker-build-push-action-7.x into master
Main Release / hadolint (push) Successful in 7s
Renovate / renovate (push) Successful in 42s
Main Release / test (push) Successful in 1m26s
Main Release / build (push) Successful in 19s
Main Release / tag (push) Successful in 13s
Tag Release / hadolint (push) Successful in 14s
Tag Release / test (push) Successful in 1m36s
Tag Release / build-push (push) Successful in 2m7s
2026-09-17 05:01:29 -04:00
renovate dde2e29976 chore(deps): update docker/build-push-action action to v7.4.0
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 8s
PR Checks / build-test (pull_request) Successful in 1m21s
2026-09-17 08:32:21 +00:00
jcabillot 902b11b227 Merge pull request 'chore: remove legacy GitLab CI and Jenkins files' (#27) from ci/remove-legacy-ci into master
Main Release / hadolint (push) Successful in 17s
Main Release / test (push) Successful in 2m44s
Renovate / renovate (push) Successful in 1m41s
Main Release / build (push) Successful in 36s
Main Release / tag (push) Successful in 34s
Tag Release / hadolint (push) Successful in 15s
Tag Release / test (push) Successful in 39s
Tag Release / build-push (push) Successful in 3m13s
Reviewed-on: #27
2026-09-02 09:50:20 -04:00
OpenCode Cabillot f2e4956564 chore: remove legacy GitLab CI and Jenkins files
PR Checks / hadolint (pull_request) Successful in 19s
PR Checks / build-test (pull_request) Successful in 2m18s
2026-09-02 13:48:46 +00:00
opencodecabilloteu baa71cd658 Merge pull request 'chore(deps): update hadolint/hadolint-action action to v3.5.0' (#26) from renovate/hadolint-hadolint-action-3.x into master
Main Release / test (push) Successful in 1m49s
Renovate / renovate (push) Successful in 51s
Main Release / hadolint (push) Successful in 15s
Main Release / build (push) Successful in 40s
Main Release / tag (push) Successful in 22s
Tag Release / hadolint (push) Successful in 18s
Tag Release / test (push) Successful in 47s
Tag Release / build-push (push) Successful in 3m14s
2026-08-26 11:00:57 -04:00
renovate 570df505c2 chore(deps): update hadolint/hadolint-action action to v3.5.0
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 16s
PR Checks / build-test (pull_request) Successful in 42s
2026-08-26 14:31:05 +00:00
opencodecabilloteu 1b1aa14edd Merge pull request 'chore(deps): update docker/setup-buildx-action digest to 37fe631' (#25) from renovate/docker-setup-buildx-action-digest into master
Main Release / test (push) Successful in 34s
Main Release / hadolint (push) Successful in 16s
Main Release / build (push) Successful in 38s
Main Release / tag (push) Successful in 17s
Renovate / renovate (push) Successful in 1m12s
Tag Release / hadolint (push) Successful in 18s
Tag Release / test (push) Successful in 35s
Tag Release / build-push (push) Successful in 2m30s
2026-08-21 07:01:39 -04:00
renovate b565fd2327 chore(deps): update docker/setup-buildx-action digest to 37fe631
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 17s
PR Checks / build-test (pull_request) Successful in 43s
2026-08-21 10:35:30 +00:00
jcabillot fcb96610a3 Merge pull request 'ci: add Renovate workflow' (#24) from add-renovate-workflow into master
Main Release / hadolint (push) Successful in 1m45s
Main Release / test (push) Successful in 3m22s
Renovate / renovate (push) Failing after 12m41s
Main Release / build (push) Successful in 3m11s
Main Release / tag (push) Successful in 51s
Tag Release / hadolint (push) Successful in 26s
Tag Release / test (push) Successful in 3m29s
Tag Release / build-push (push) Successful in 6m8s
Reviewed-on: #24
2026-08-03 16:21:15 -04:00
OpenCode Cabillot 7dc43e0904 ci: add Renovate workflow
PR Checks / hadolint (pull_request) Successful in 13s
PR Checks / build-test (pull_request) Successful in 1m14s
2026-08-02 23:36:44 +00:00
opencodecabilloteu 5cd886f430 Merge pull request 'chore(deps): update hadolint/hadolint-action action to v3.4.0' (#23) from renovate/hadolint-hadolint-action-3.x into master
Main Release / hadolint (push) Successful in 17s
Main Release / test (push) Successful in 57s
Main Release / build (push) Successful in 2m38s
Main Release / tag (push) Successful in 38s
Tag Release / hadolint (push) Successful in 26s
Tag Release / test (push) Successful in 3m2s
Tag Release / build-push (push) Successful in 4m47s
2026-08-01 16:03:08 -04:00
renovate 079f6efde4 chore(deps): update hadolint/hadolint-action action to v3.4.0
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 17s
PR Checks / build-test (pull_request) Successful in 31s
2026-08-01 14:30:31 +00:00
jcabillot a5cd54eb38 Merge pull request 'chore(deps): update docker/login-action digest to dbcb813' (#22) from renovate/docker-login-action-digest into master
Main Release / hadolint (push) Successful in 14s
Main Release / test (push) Failing after 4m46s
Main Release / build (push) Skipped
Main Release / tag (push) Skipped
Reviewed-on: #22
2026-07-29 11:47:15 -04:00
renovate 3027afec7b chore(deps): update docker/login-action digest to dbcb813
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 2m27s
PR Checks / build-test (pull_request) Successful in 3m47s
2026-07-29 13:06:28 +00:00
jcabillot 8ef27ac007 Merge pull request 'chore(deps): update docker/login-action digest to 371161b' (#21) from renovate/docker-login-action-digest into master
Main Release / hadolint (push) Successful in 12s
Main Release / test (push) Successful in 1m39s
Main Release / build (push) Successful in 23s
Main Release / tag (push) Successful in 13s
Tag Release / hadolint (push) Successful in 14s
Tag Release / test (push) Successful in 1m47s
Tag Release / build-push (push) Failing after 3m22s
Reviewed-on: #21
2026-07-28 16:52:39 -04:00
renovate 7092cd0d18 chore(deps): update docker/login-action digest to 371161b
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 11s
PR Checks / build-test (pull_request) Successful in 6m56s
2026-07-28 08:05:57 +00:00
jcabillot d7014ade38 Merge pull request 'chore(deps): update docker/login-action digest to abd2ef4' (#20) from renovate/docker-login-action-digest into master
Main Release / hadolint (push) Successful in 14s
Main Release / test (push) Successful in 30s
Main Release / build (push) Successful in 1m2s
Main Release / tag (push) Successful in 14s
Tag Release / test (push) Successful in 28s
Tag Release / hadolint (push) Successful in 9s
Tag Release / build-push (push) Successful in 9m12s
Reviewed-on: #20
2026-07-24 16:15:22 -04:00
renovate 0d0c424f59 chore(deps): update docker/login-action digest to abd2ef4
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 14s
PR Checks / build-test (pull_request) Successful in 34s
2026-07-24 13:07:33 +00:00
jcabillot c92a5f3f34 Merge pull request 'chore(deps): update actions/checkout digest to 3d3c42e' (#19) from renovate/actions-checkout-digest into master
Main Release / hadolint (push) Successful in 18s
Main Release / test (push) Successful in 3m17s
Main Release / build (push) Successful in 6m2s
Main Release / tag (push) Successful in 16s
Tag Release / hadolint (push) Successful in 29s
Tag Release / test (push) Successful in 50s
Tag Release / build-push (push) Failing after 5m51s
Reviewed-on: #19
2026-07-23 07:53:21 -04:00
renovate 67c319e048 chore(deps): update actions/checkout digest to 3d3c42e
renovate/stability-days Updates have met minimum release age requirement
PR Checks / build-test (pull_request) Successful in 14s
PR Checks / hadolint (pull_request) Successful in 20s
2026-07-20 16:05:58 +00:00
jcabillot 5421ac18c8 Merge pull request 'chore(deps): update docker/login-action digest to af1e73f' (#18) from renovate/docker-login-action-digest into master
Main Release / test (push) Successful in 50s
Main Release / hadolint (push) Failing after 13m47s
Main Release / build (push) Successful in 17s
Main Release / tag (push) Successful in 16s
Tag Release / hadolint (push) Successful in 10s
Tag Release / test (push) Successful in 56s
Tag Release / build-push (push) Successful in 1m32s
Reviewed-on: #18
2026-07-03 16:20:29 -04:00
renovate c46a5ae131 chore(deps): update docker/login-action digest to af1e73f
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 10s
PR Checks / build-test (pull_request) Successful in 52s
2026-07-03 14:23:14 +00:00
7 changed files with 58 additions and 98 deletions

No files matched your search

+8 -8
View File
@@ -9,16 +9,16 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
continue-on-error: true continue-on-error: true
steps: steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0 - uses: hadolint/hadolint-action@06be81baf89a55ffd0e24b8f04a4185738dd3387 # v3.5.0
with: with:
dockerfile: Dockerfile dockerfile: Dockerfile
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4 - uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- run: docker build -t ci-image:${{ github.sha }} . - run: docker build -t ci-image:${{ github.sha }} .
- run: bash tests/test.sh ci-image:${{ github.sha }} - run: bash tests/test.sh ci-image:${{ github.sha }}
@@ -26,11 +26,11 @@ jobs:
needs: [test] needs: [test]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4 - uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- uses: docker/login-action@c99871dec2022cc055c062a10cc1a1310835ceb4 # v4 - uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -44,7 +44,7 @@ jobs:
images: jcabillot/phpapache images: jcabillot/phpapache
tags: | tags: |
type=raw,value=${{ steps.get-latest-tag.outputs.tag }}-latest,enable=${{ steps.get-latest-tag.outputs.tag != '' }} type=raw,value=${{ steps.get-latest-tag.outputs.tag }}-latest,enable=${{ steps.get-latest-tag.outputs.tag != '' }} type=raw,value=${{ steps.get-latest-tag.outputs.tag }}-latest,enable=${{ steps.get-latest-tag.outputs.tag != '' }} type=raw,value=${{ steps.get-latest-tag.outputs.tag }}-latest,enable=${{ steps.get-latest-tag.outputs.tag != '' }}
- uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0 - uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with: with:
context: . context: .
push: true push: true
+7 -7
View File
@@ -9,16 +9,16 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
continue-on-error: true continue-on-error: true
steps: steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0 - uses: hadolint/hadolint-action@06be81baf89a55ffd0e24b8f04a4185738dd3387 # v3.5.0
with: with:
dockerfile: Dockerfile dockerfile: Dockerfile
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4 - uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- run: docker build -t ci-image:${{ github.sha }} . - run: docker build -t ci-image:${{ github.sha }} .
- run: bash tests/test.sh ci-image:${{ github.sha }} - run: bash tests/test.sh ci-image:${{ github.sha }}
@@ -26,15 +26,15 @@ jobs:
needs: [test] needs: [test]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4 - uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- run: docker build -t jcabillot/phpapache:${{ github.sha }} . - run: docker build -t jcabillot/phpapache:${{ github.sha }} .
tag: tag:
needs: [build] needs: [build]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Configure git auth - name: Configure git auth
+4 -4
View File
@@ -8,8 +8,8 @@ jobs:
hadolint: hadolint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0 - uses: hadolint/hadolint-action@06be81baf89a55ffd0e24b8f04a4185738dd3387 # v3.5.0
continue-on-error: true continue-on-error: true
with: with:
dockerfile: Dockerfile dockerfile: Dockerfile
@@ -17,7 +17,7 @@ jobs:
build-test: build-test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4 - uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- run: docker build -t ci-image:${{ github.sha }} . - run: docker build -t ci-image:${{ github.sha }} .
- run: bash tests/test.sh ci-image:${{ github.sha }} - run: bash tests/test.sh ci-image:${{ github.sha }}
+12
View File
@@ -0,0 +1,12 @@
name: Renovate
on:
push:
branches:
- master
workflow_dispatch:
jobs:
renovate:
uses: perso/gitea-pipelines/.gitea/workflows/renovate.yaml@main
secrets: inherit
+27 -8
View File
@@ -9,16 +9,16 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
continue-on-error: true continue-on-error: true
steps: steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0 - uses: hadolint/hadolint-action@06be81baf89a55ffd0e24b8f04a4185738dd3387 # v3.5.0
with: with:
dockerfile: Dockerfile dockerfile: Dockerfile
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4 - uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- run: docker build -t ci-image:${{ github.sha }} . - run: docker build -t ci-image:${{ github.sha }} .
- run: bash tests/test.sh ci-image:${{ github.sha }} - run: bash tests/test.sh ci-image:${{ github.sha }}
@@ -26,9 +26,9 @@ jobs:
needs: [test] needs: [test]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4 - uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- uses: docker/login-action@c99871dec2022cc055c062a10cc1a1310835ceb4 # v4 - uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -39,10 +39,29 @@ jobs:
tags: | tags: |
type=ref,event=tag type=ref,event=tag
type=ref,event=tag,suffix=-latest type=ref,event=tag,suffix=-latest
- uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0 - uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with: with:
context: . context: .
push: true push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
pull: true pull: true
trigger-renovate:
# The deployment repo perso_private/tf-depl-kubernetes pins this image; its
# Renovate instance only scans hourly, so this dispatch opens the image bump
# PR within minutes of the release instead of up to an hour later.
needs: [build-push]
runs-on: ubuntu-latest
steps:
- name: Trigger Renovate on perso_private/tf-depl-kubernetes
# needs: build-push — Renovate reads Docker Hub, so a scan started before
# the push lands would only see the previous release.
# RENOVATE_TOKEN is the org-level secret of this organisation.
run: |
curl -sS -f -X POST \
-u "renovate:${{ secrets.RENOVATE_TOKEN }}" \
-H "Content-Type: application/json" \
-d '{{"ref":"main"}}' \
"https://scm.cabillot.eu/api/v1/repos/perso_private/tf-depl-kubernetes/actions/workflows/renovate.yaml/dispatches"
echo "Renovate dispatched on perso_private/tf-depl-kubernetes"
-33
View File
@@ -1,33 +0,0 @@
image: docker:latest
services:
- docker:dind
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
build-master:
stage: build
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE" .
- docker push "$CI_REGISTRY_IMAGE"
only:
- master
build-master-arm64:
stage: build
tags:
- arm64
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE:arm64" .
- docker push "$CI_REGISTRY_IMAGE:arm64"
only:
- master
build:
stage: build
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" .
- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
except:
- master
Vendored
-38
View File
@@ -1,38 +0,0 @@
pipeline {
environment {
registry = 'https://registry.hub.docker.com'
registryCredential = 'dockerhub_jcabillot'
dockerImage = 'jcabillot/phpapache'
}
agent any
triggers {
cron('@midnight')
}
stages {
stage('Clone repository') {
steps{
checkout scm
}
}
stage('Build image') {
steps{
sh 'docker build --force-rm --no-cache --pull -t ${dockerImage} .'
}
}
stage('Deploy Image') {
steps{
script {
withCredentials([usernamePassword(credentialsId: 'dockerhub_jcabillot', usernameVariable: 'DOCKER_USER', passwordVariable: 'DOCKER_PASS')]) {
sh 'docker login --username ${DOCKER_USER} --password ${DOCKER_PASS}'
sh 'docker push ${dockerImage}'
}
}
}
}
}
}