From aea3decebf72f9cca49b65ed0da92d2000fe961e Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 28 Sep 2022 17:40:14 -0400 Subject: [PATCH] Update manual_publish.yml --- .github/workflows/manual_publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/manual_publish.yml b/.github/workflows/manual_publish.yml index e6b9715..49477c1 100644 --- a/.github/workflows/manual_publish.yml +++ b/.github/workflows/manual_publish.yml @@ -22,12 +22,12 @@ jobs: run: | echo ::set-output name=sha::$(echo ${cercContainerTag:0:7}) - name: Pull docker image by SHA - run: docker pull git.vdb.to/cerc-io/eth-statediff-service/eth-statediff-service:${{steps.vars.outputs.sha}} + run: docker pull git.vdb.to/cerc-io/eth-statediff-service/eth-statediff-service:${{github.event.inputs.cercContainerTag}} - 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:${{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 run: echo ${{ secrets.GITEA_TOKEN }} | docker login https://git.vdb.to -u cerccicd --password-stdin - name: Docker Push Release Tag - run: docker push git.vdb.to/cerc-io/eth-statediff-service/eth-statediff-service:${{giteaPublishTag}} + run: docker push git.vdb.to/cerc-io/eth-statediff-service/eth-statediff-service:${{github.event.inputs.giteaPublishTag}} - name: Docker Push LATEST Tag run: docker push git.vdb.to/cerc-io/eth-statediff-service/eth-statediff-service:latest