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