From 2409844953cb0bd42e238f08be9c5a044b8e0616 Mon Sep 17 00:00:00 2001 From: Vladimir Hodakov Date: Tue, 14 Jan 2025 02:34:33 +0400 Subject: [PATCH] Fix Docker tag name --- .woodpecker/build.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml index e9b1fd8..3398e5c 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/build.yaml @@ -14,7 +14,7 @@ steps: test-build: image: docker:27-dind commands: - - docker build -t source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-${platform} . + - docker build -t source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-${platform##linux/} . volumes: - /var/run/docker.sock:/var/run/docker.sock when: @@ -27,8 +27,8 @@ steps: from_secret: registry_token commands: - docker login -u ${CI_REPO_OWNER} -p $${CI_USER_PASSWORD} source.hodakov.me - - docker build -t source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-${platform} . - - docker push source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-${platform} + - docker build -t source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-${platform##linux/} . + - docker push source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-${platform##linux/} volumes: - /var/run/docker.sock:/var/run/docker.sock when: