Update .gitea/workflows/build.yaml
Some checks failed
Build and Push Docker Image / build (push) Failing after 11s
Some checks failed
Build and Push Docker Image / build (push) Failing after 11s
This commit is contained in:
parent
224b56dcb3
commit
ee724bc872
@ -4,7 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- master # Je nachdem, wie dein Hauptbranch heißt
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -17,13 +17,12 @@ jobs:
|
|||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: gitea.simonaltschaeffl.de
|
registry: gitea.simonaltschaeffl.de
|
||||||
username: ${{ gitea.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }} # Gitea generiert dieses Token automatisch!
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Docker Image bauen und pushen
|
- name: Docker Image bauen und pushen
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
# Hier sagen wir, dass es in DEINE private Registry soll:
|
|
||||||
tags: gitea.simonaltschaeffl.de/simon_admin/homepage:latest
|
tags: gitea.simonaltschaeffl.de/simon_admin/homepage:latest
|
||||||
Loading…
Reference in New Issue
Block a user