Workflow now may be stable and good #23

Merged
rudi merged 24 commits from workflow into main 2026-09-03 15:51:48 +00:00
Showing only changes of commit 65fc741c06 - Show all commits
+11 -6
View File
@@ -3,8 +3,8 @@ name: Docker Build & Push
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
branches: tags:
- main - 'v*'
jobs: jobs:
build: build:
@@ -16,15 +16,20 @@ jobs:
- name: Bei Gitea Container Registry anmelden - name: Bei Gitea Container Registry anmelden
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
registry: http://localhost:3000 registry: 127.0.0.1:3000
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: |
127.0.0.1:3000/rudi/tandur:latest 127.0.0.1:3000/rudi/tandur:latest
127.0.0.1:3000/rudi/tandur:${{ gitea.ref_name}} 127.0.0.1:3000/rudi/tandur:${{ gitea.ref_name }}
- name: Images zu Gitea pushen
run: |
docker push 127.0.0.1:3000/rudi/tandur:latest
docker push 127.0.0.1:3000/rudi/tandur:${{ gitea.ref_name }}