use gitea.sha instead of env.GITEA_SHA
Some checks failed
Build and publish the docker image / build (push) Failing after 2m24s
Some checks failed
Build and publish the docker image / build (push) Failing after 2m24s
Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
parent
1d1b6da633
commit
cbe52eb257
@ -24,7 +24,7 @@ jobs:
|
||||
|
||||
- name: Build image
|
||||
run: |
|
||||
hash=${{env.GITEA_SHA}}
|
||||
hash=${{gitea.sha}}
|
||||
docker build . --tag ${{env.REGISTRY}}/${{env.IMAGE}}:latest --tag ${{env.REGISTRY}}/${{env.IMAGE}}:${hash::7}
|
||||
docker push ${{env.REGISTRY}}/${{env.IMAGE}}:${hash::7}
|
||||
docker push ${{env.REGISTRY}}/${{env.IMAGE}}:latest
|
||||
|
Loading…
x
Reference in New Issue
Block a user