Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a1724742a |
@@ -39,18 +39,14 @@ jobs:
|
||||
ref_name: ${{gitea.ref_name}}
|
||||
run: |
|
||||
echo $repository
|
||||
echo ::set-output name=OWNER::${repository#/*}
|
||||
echo ::set-output name=PROJECT::${repository#*/}
|
||||
echo $ref_name
|
||||
echo ::set-output name=TAG::${ref_name#refs/*/}
|
||||
-
|
||||
name: Show Environment Variables
|
||||
env:
|
||||
tag: ${{steps.vars.outputs.TAG}}
|
||||
run: |
|
||||
echo $tag
|
||||
-
|
||||
name: Push Image
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: 192.168.1.2:5000/${{gitea.repository}}:${{steps.get_version.outputs.VERSION}}
|
||||
tags: 192.168.1.2:5000/${{gitea.repository}}:${{steps.vars.outputs.TAG}}
|
||||
|
||||
Reference in New Issue
Block a user