need to tag image before push

This commit is contained in:
Michael Shaw 2022-09-19 14:14:10 -04:00
parent 884dc19b5b
commit 0c80bd65e4

View File

@ -17,6 +17,8 @@ jobs:
run: make docker-build
- name: Tag docker image
run: docker tag cerc-io/ipld-eth-db git.vdb.to/cerc-io/ipld-eth-db/ipld-eth-db:${{steps.vars.outputs.sha}}
- name: Tag docker image
run: docker tag git.vdb.to/cerc-io/ipld-eth-db/ipld-eth-db:${{steps.vars.outputs.sha}} cerc-io/ipld-eth-db:${{steps.vars.outputs.tag}}
- name: Docker Login
run: echo ${{ secrets.GITEA_TOKEN }} | docker login https://git.vdb.to -u cerccicd --password-stdin
- name: Docker Push