Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a1724742a | ||
|
|
20023ca9a9 | ||
|
|
478d258a31 | ||
|
|
eb8b1456ab | ||
|
|
4c99b6a1af | ||
|
|
0becddf81f |
@@ -34,17 +34,19 @@ jobs:
|
|||||||
-
|
-
|
||||||
name: Set Environment Variables
|
name: Set Environment Variables
|
||||||
id: vars
|
id: vars
|
||||||
|
env:
|
||||||
|
repository: ${{gitea.repository}}
|
||||||
|
ref_name: ${{gitea.ref_name}}
|
||||||
run: |
|
run: |
|
||||||
echo $gitea.ref_name
|
echo $repository
|
||||||
echo TAG=${gitea.ref_name#refs/*/} >> $GITEA_OUTPUT
|
echo ::set-output name=OWNER::${repository#/*}
|
||||||
-
|
echo ::set-output name=PROJECT::${repository#*/}
|
||||||
name: Show Environment Variables
|
echo $ref_name
|
||||||
run: |
|
echo ::set-output name=TAG::${ref_name#refs/*/}
|
||||||
echo "$stepa.vars.output.TAG"
|
|
||||||
-
|
-
|
||||||
name: Push Image
|
name: Push Image
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
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