Build and pull seperated
This commit is contained in:
1 parent
7e989f1408
commit
a55d48c48e
1 file changed
+9
-4
@@ -19,14 +19,19 @@ jobs:
|
|||||||
username: ${{ gitea.actor }}
|
username: ${{ gitea.actor }}
|
||||||
password: ${{ secrets.token }}
|
password: ${{ secrets.token }}
|
||||||
|
|
||||||
- name: Docker Image bauen und pushen
|
- name: Docker Image bauen (nur lokal im Runner)
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: false
|
||||||
tags: |
|
tags: |
|
||||||
https://git.schamagusa.de/rudi/tandur:${{ gitea.ref_name }}
|
127.0.0.1:3000/rudi/tandur:${{ gitea.ref_name }}
|
||||||
https://git.schamagusa.de/rudi/tandur:latest
|
127.0.0.1:3000/rudi/tandur:latest
|
||||||
|
|
||||||
|
- name: Images zu Gitea pushen
|
||||||
|
run: |
|
||||||
|
docker push 127.0.0.1:3000/rudi/tandur:${{ gitea.ref_name }}
|
||||||
|
docker push 127.0.0.1:3000/rudi/tandur:latest
|
||||||
|
|
||||||
release:
|
release:
|
||||||
if: startsWith(gitea.ref, 'refs/tags/v')
|
if: startsWith(gitea.ref, 'refs/tags/v')
|
||||||
|
|||||||
Reference in new issue
Block a user