Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
233c0ef977 | ||
|
|
11e3c866de | ||
|
|
ce43e1fa38 | ||
|
|
9c9722615f | ||
|
|
9ad983cc1c | ||
|
|
10821f94df |
@@ -31,10 +31,20 @@ jobs:
|
|||||||
needs: [test]
|
needs: [test]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
-
|
||||||
|
name: Set Environment Variables
|
||||||
|
id: vars
|
||||||
|
run: |
|
||||||
|
echo $gitea.ref_name
|
||||||
|
echo TAG=${gitea.ref_name#refs/*/} >> $GITEA_OUTPUT
|
||||||
|
-
|
||||||
|
name: Show Environment Variables
|
||||||
|
run: |
|
||||||
|
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}}:${{gitea.ref_name}}
|
tags: 192.168.1.2:5000/${{gitea.repository}}:${{steps.get_version.outputs.VERSION}}
|
||||||
|
|||||||
Reference in New Issue
Block a user