Update manual_publish.yml

This commit is contained in:
Michael 2022-09-28 17:45:25 -04:00 committed by GitHub
parent ccdf9d91fc
commit db532467cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ on:
description: 'Release TAG to publish TO on gitea; e.g. v4.1.5-alpha' description: 'Release TAG to publish TO on gitea; e.g. v4.1.5-alpha'
required: true required: true
cercContainerTag: cercContainerTag:
description: 'Container (SHA) to release-tag FROM' description: 'Container (truncated!!! SHA) to release-tag FROM'
required: true required: true
# A workflow run is made up of one or more jobs that can run sequentially or in parallel # A workflow run is made up of one or more jobs that can run sequentially or in parallel
@ -22,7 +22,7 @@ jobs:
run: | run: |
echo ::set-output name=sha::$(echo ${cercContainerTag:0:7}) echo ::set-output name=sha::$(echo ${cercContainerTag:0:7})
- name: Pull docker image by SHA - name: Pull docker image by SHA
run: docker pull git.vdb.to/cerc-io/eth-statediff-service/eth-statediff-service:${{github.event.inputs.cercContainerTag:0:7}} run: docker pull git.vdb.to/cerc-io/eth-statediff-service/eth-statediff-service:${{github.event.inputs.cercContainerTag}}
- name: Tag docker image TAG - name: Tag docker image TAG
run: docker tag git.vdb.to/cerc-io/eth-statediff-service/eth-statediff-service:${{steps.vars.outputs.sha}} git.vdb.to/cerc-io/eth-statediff-service/eth-statediff-service:${{github.event.inputs.giteaPublishTag}} run: docker tag git.vdb.to/cerc-io/eth-statediff-service/eth-statediff-service:${{steps.vars.outputs.sha}} git.vdb.to/cerc-io/eth-statediff-service/eth-statediff-service:${{github.event.inputs.giteaPublishTag}}
- name: Docker Login - name: Docker Login