feat: Add web terminal and server dashboard, streamline setup, and configure CI with Docker registry mirror.
Build Docker Container using Multistage Build / build (push) Failing after 32s
Build Docker Container using Multistage Build / build (push) Failing after 32s
This commit is contained in:
@@ -9,7 +9,7 @@ on:
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
- 'v*' # Tags, die mit "v" anfangen, z. B. v1.0.0
|
||||
- "v*" # Tags, die mit "v" anfangen, z. B. v1.0.0
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
build:
|
||||
@@ -31,14 +31,13 @@ jobs:
|
||||
with:
|
||||
buildkitd-config-inline: |
|
||||
[registry."docker.io"]
|
||||
username = "${{ secrets.DOCKERHUB_USERNAME }}"
|
||||
password = "${{ secrets.DOCKERHUB_TOKEN }}"
|
||||
mirrors = ["docker.hnrx.net"]
|
||||
[registry."git.hnrx.net"]
|
||||
username = "${{ secrets.DOCKER_USERNAME }}"
|
||||
password = "${{ secrets.DOCKER_PASSWORD }}"
|
||||
|
||||
- run: ls -lha
|
||||
|
||||
|
||||
- name: Build and Push Docker latest Image
|
||||
if: gitea.ref == 'refs/heads/main'
|
||||
uses: docker/build-push-action@v6
|
||||
@@ -55,4 +54,4 @@ jobs:
|
||||
context: .
|
||||
push: true
|
||||
tags: git.hnrx.net/hnrx/manage-servers:${{ gitea.ref_name }}
|
||||
file: ./Dockerfile
|
||||
file: ./Dockerfile
|
||||
|
||||
Reference in New Issue
Block a user