Fix workflow: use direct docker commands instead of non-existent actions
Build and Push Arch Custom Image / build (push) Successful in 1m3s

This commit is contained in:
2026-04-13 23:39:06 +02:00
parent 96b7d3dff6
commit cb34dcc2d4
+6 -10
View File
@@ -7,20 +7,16 @@ on:
jobs:
build:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to Gitea Registry
uses: actions/docker/login@v2
with:
registry: gitea.lokcal.de
username: loki
password: ${{ secrets.REGISTRY_PASSWORD }}
run: echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login gitea.lokcal.de -u loki --password-stdin
- name: Build and Push
uses: actions/docker/build-push@v4
with:
context: .
push: true
tags: gitea.lokcal.de/loki/arch-runner-custom-image:latest
run: |
docker build -t gitea.lokcal.de/loki/arch-runner-custom-image:latest .
docker push gitea.lokcal.de/loki/arch-runner-custom-image:latest