.gitea/workflows/docker-build.yml aktualisiert
Some checks failed
Build and Push Docker Container / build-and-push (push) Failing after -10s

This commit is contained in:
2025-03-26 11:05:50 +00:00
parent 3bc9457114
commit 101ed22a8f

View File

@@ -10,23 +10,21 @@ jobs:
runs-on: runs-on:
- ubuntu-22.04 - ubuntu-22.04
steps: steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.USERNAME }}
password: ${{ secrets.ACCESS_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with: with:
config-inline: | platforms: linux/amd64,linux/arm64
[registry."git.kohout.dev.de"]
- name: Login to Docker Registry
run: |
echo "${{ secrets.ACCESS_TOKEN }}" | docker login git.kohout-dev.de -u "${{ secrets.USERNAME }}" --password-stdin
- name: Clone Repository
uses: actions/checkout@v3
- name: Build and push Docker image
uses: https://github.com/docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true push: true
tags: "git.kohout-dev.de/rezepte/rezepte:${{gitea.sha}},git.kohout-dev.de/rezepte/rezepte:latest" tags: "git.kohout-dev.de/rezepte/rezepte:${{gitea.sha}},git.kohout-dev.de/rezepte/rezepte:latest"