try fix
This commit is contained in:
3
.github/workflows/build.yaml
vendored
3
.github/workflows/build.yaml
vendored
@@ -17,7 +17,6 @@ jobs:
|
||||
#DOCKER_HOST: tcp://${{ matrix.config.host }}:2376
|
||||
CR_REGISTRY: crp8vh46gd976oq8ipla
|
||||
CR_REPO: ${{ github.event.repository.name }}
|
||||
INPUT_TAG: ${{ inputs.tag }}
|
||||
IMAGE_TAG: ${{ github.sha }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -47,6 +46,8 @@ jobs:
|
||||
with:
|
||||
yc-sa-json-credentials: ${{ secrets.YC_SA_JSON_CREDENTIALS }}
|
||||
- name: Tag image
|
||||
env:
|
||||
INPUT_TAG: ${{ inputs.tag }}
|
||||
run: |
|
||||
echo ${INPUT_TAG/\//-} ${IMAGE_TAG::7} $INPUT_TAG $IMAGE_TAG
|
||||
docker tag cr.yandex/$CR_REGISTRY/$CR_REPO:${IMAGE_TAG::7} cr.yandex/$CR_REGISTRY/$CR_REPO:${INPUT_TAG/\//-}
|
||||
|
||||
Reference in New Issue
Block a user