Update .gitea/workflows/build.yaml
Some checks failed
Build and Push Docker Image / build (push) Failing after 1m16s
Some checks failed
Build and Push Docker Image / build (push) Failing after 1m16s
This commit is contained in:
parent
e77bc6b3d1
commit
81c2d546c2
@ -8,9 +8,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
# Wir ändern 'ubuntu-latest' auf ein spezifisches Image,
|
runs-on: ubuntu-22.04
|
||||||
# das oft schon im Cache liegt oder leichter erreichbar ist.
|
|
||||||
runs-on: ubuntu-22.04
|
|
||||||
steps:
|
steps:
|
||||||
- name: Code auschecken
|
- name: Code auschecken
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -18,7 +16,8 @@ jobs:
|
|||||||
- name: Login in die Gitea Registry
|
- name: Login in die Gitea Registry
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: gitea.simonaltschaeffl.de
|
# Wir nutzen die interne Service-URL (Port 3000 für Gitea HTTP)
|
||||||
|
registry: gitea-http.gitea.svc.cluster.local:3000
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
@ -27,4 +26,5 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: gitea.simonaltschaeffl.de/simon_admin/homepage:latest
|
# Auch beim Taggen nutzen wir die interne URL
|
||||||
|
tags: gitea-http.gitea.svc.cluster.local:3000/simon_admin/homepage:latest
|
||||||
Loading…
Reference in New Issue
Block a user