.gitea/workflows/gitea-ci.yaml aktualisiert
Build Docker Container using Multistage Build / build (push) Failing after 13s
Build Docker Container using Multistage Build / build (push) Failing after 13s
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# .gitea/gitea-ci.yaml
|
||||
#
|
||||
|
||||
name: Build And Test
|
||||
name: Build Docker Container using Multistage Build
|
||||
run-name: ${{ gitea.actor }} started ci pipeline
|
||||
on:
|
||||
push:
|
||||
@@ -13,25 +13,6 @@ on:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: https://github.com/actions/checkout@v6
|
||||
- name: Use Go
|
||||
uses: https://github.com/actions/setup-go@v6
|
||||
with:
|
||||
go-version: '1.25'
|
||||
- run: go version
|
||||
- run: go mod download
|
||||
- run: CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o manage-servers .
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: manage-servers-binary
|
||||
path: manage-servers
|
||||
|
||||
publish:
|
||||
needs: build
|
||||
name: Build and Publish Docker Image
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: https://github.com/actions/checkout@v6
|
||||
|
||||
Reference in New Issue
Block a user