From b03dae3dc676d52f34c75495f60de754bba433f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Baillet?= Date: Tue, 17 Dec 2024 10:28:14 +0100 Subject: [PATCH] fix ci (docker build) --- .github/workflows/github-actions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index d1231e7..77dbc56 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -55,9 +55,9 @@ jobs: echo "$DOCKER_PASSWORD" | docker login $DOCKER_REPOSITORY -u $DOCKER_USERNAME --password-stdin docker pull $DOCKER_IMAGE_PHP:$(git rev-parse --short HEAD) docker tag $DOCKER_IMAGE_PHP:$(git rev-parse --short HEAD) $DOCKER_IMAGE_PHP:$(git rev-parse --abbrev-ref HEAD) - docker push $DOCKER_IMAGE_PHP:$(git rev-parse --abbrev-ref HEAD) + docker push $DOCKER_IMAGE_PHP:$(git rev-parse --abbrev-ref HEAD | tr '/' '-') docker tag $DOCKER_IMAGE_PYTHON:$(git rev-parse --short HEAD) $DOCKER_IMAGE_PYTHON:$(git rev-parse --abbrev-ref HEAD) - docker push $DOCKER_IMAGE_PYTHON:$(git rev-parse --abbrev-ref HEAD) + docker push $DOCKER_IMAGE_PYTHON:$(git rev-parse --abbrev-ref HEAD | tr '/' '-') tests: env: