Fix parsing of Docker tag
Build and publish Docker image / build (push) Successful in 28s Details

This commit is contained in:
TheAssassin 2024-06-01 17:41:11 +02:00
parent 61c53a862b
commit d88e3ba69d
1 changed files with 2 additions and 2 deletions

View File

@ -29,11 +29,11 @@ jobs:
- name: Extract tag for kaniko action - name: Extract tag for kaniko action
id: tag id: tag
env: env:
TAG: ${{ steps.meta.outputs.tags[0] }} TAG: ${{ steps.meta.outputs.tags }}
run: | run: |
echo "TAG=$TAG"
echo "::set-output name=tag::${TAG##*:}" echo "::set-output name=tag::${TAG##*:}"
- name: Build Docker image with kaniko - name: Build Docker image with kaniko
uses: https://code.thetadev.de/ThetaDev/action-kaniko@dbb8da86cf2d498dde8ec1b3be967ceda17a21ff uses: https://code.thetadev.de/ThetaDev/action-kaniko@dbb8da86cf2d498dde8ec1b3be967ceda17a21ff
with: with: