Compare commits

..

39 commits

Author SHA1 Message Date
1d5fedb0e1 Update .github/workflows/.github-ci.yaml
All checks were successful
ci / build (push) Successful in 4m38s
2025-03-15 07:23:38 +00:00
64ccd05681 Update .github/workflows/.github-ci.yaml
All checks were successful
ci / build (push) Successful in 4m29s
2025-03-15 07:18:18 +00:00
092b1ae434 Update .github/workflows/.github-ci.yaml
All checks were successful
ci / build (push) Successful in 58s
2025-03-15 06:05:02 +00:00
c33ca0f91e Update .github/workflows/.github-ci.yaml
Some checks failed
ci / build (push) Failing after 16s
2025-03-15 06:04:16 +00:00
61e3aeecac Update Dockerfile
Some checks failed
ci / build (push) Has been cancelled
2025-03-14 13:32:21 +00:00
0d181c1f13 Update .github/workflows/.github-ci.yaml
Some checks failed
ci / build (push) Has been cancelled
2025-03-14 13:31:55 +00:00
a624f7c048 Update Dockerfile
Some checks failed
ci / build (push) Failing after 2h18m39s
2025-03-14 11:04:20 +00:00
22b5bbc5ef Update .github/workflows/.github-ci.yaml
Some checks failed
ci / build (push) Failing after 2m0s
2025-03-14 10:59:33 +00:00
39c04a0751 Update .github/workflows/.github-ci.yaml
Some checks failed
ci / build (push) Failing after 3m7s
2025-03-14 10:38:06 +00:00
2fdcbfd19c Update .github/workflows/.github-ci.yaml
Some checks failed
ci / build (push) Failing after 1m56s
2025-02-24 23:04:18 +00:00
1f0786a79a Update .github/workflows/.github-ci.yaml
Some checks failed
ci / build (push) Failing after 1m57s
2025-02-24 22:59:15 +00:00
6ae9f6bce6 Update .github/workflows/.github-ci.yaml
Some checks failed
ci / build (push) Failing after 7s
2025-02-24 22:54:40 +00:00
1a1b9d6a55 Update .github/workflows/.github-ci.yaml
Some checks failed
ci / build (push) Failing after 1m57s
2025-02-23 14:38:01 +00:00
afe76ece74 Update .github/workflows/.github-ci.yaml
Some checks failed
ci / build (push) Failing after 2m18s
2025-02-23 14:23:26 +00:00
17c2092b42 Update .github/workflows/.github-ci.yaml
Some checks failed
ci / build (push) Failing after 27s
2025-02-23 14:20:24 +00:00
238ad6e67f Update .github/workflows/.github-ci.yaml
Some checks failed
ci / build (push) Failing after 27s
2025-02-23 14:17:21 +00:00
4ae1d07c67 Update .github/workflows/.github-ci.yaml
Some checks failed
ci / build (push) Failing after 2m3s
2025-02-23 13:07:28 +00:00
fb4eae7a0d Update .github/workflows/.github-ci.yaml
Some checks failed
ci / build (push) Has been cancelled
2025-02-23 13:06:35 +00:00
1a8a18b1ed Update .github/workflows/.github-ci.yaml
Some checks failed
ci / build (push) Failing after 1m4s
2025-02-23 13:00:50 +00:00
70b48d31d4 Update .github/workflows/.github-ci.yaml
Some checks failed
ci / build (push) Failing after 4s
2025-02-23 12:59:10 +00:00
5f56a2e894 Update .github/workflows/.github-ci.yaml
Some checks failed
ci / build (push) Has been cancelled
2025-02-23 12:57:53 +00:00
5b80e0503f Update .github/workflows/.github-ci.yaml
Some checks failed
ci / build (push) Has been cancelled
2025-02-23 12:52:33 +00:00
11de6735e1 Update .github/workflows/.github-ci.yaml
Some checks failed
ci / build (push) Failing after 1m19s
2025-02-23 11:39:43 +00:00
412abef199 Merge pull request 'Update .github/workflows/.github-ci.yaml' (#1) from dind-v2 into development
Some checks failed
ci / build (push) Failing after 0s
Reviewed-on: richardrobertreitz/fibonacci_go#1
2025-02-23 08:51:32 +00:00
23aef36197 Update .github/workflows/.github-ci.yaml
Some checks failed
ci / build (push) Failing after 17s
2025-02-23 01:22:28 +00:00
9cca37f0cd Update .github/workflows/.github-ci.yaml
Some checks failed
ci / docker (push) Has been cancelled
2025-02-18 18:53:32 +00:00
c08b715e4a Update .github/workflows/.github-ci.yaml 2025-02-07 19:55:06 +00:00
23384c5e75 Update .github/workflows/.github-ci.yaml 2025-02-07 19:26:20 +00:00
880b5b4e13 Update .github/workflows/.github-ci.yaml
Some checks failed
ci / docker (push) Failing after 1m56s
2025-02-07 19:17:19 +00:00
435d69317f Update .github/workflows/.github-ci.yaml
Some checks failed
ci / docker (push) Failing after 1m58s
Enhanced Forgejo build workflow
2025-02-07 19:11:36 +00:00
a06eff9cda Update .github/workflows/.github-ci.yaml
Some checks failed
ci / docker (push) Has been cancelled
2025-02-07 19:10:34 +00:00
dfc44a8f4f Update .github/workflows/.github-ci.yaml
Some checks failed
ci / docker (push) Has been cancelled
2025-02-07 19:09:00 +00:00
5f514fdd5f Update .github/workflows/.github-ci.yaml
Some checks failed
ci / docker (push) Has been cancelled
Enhanced forgejo build pipeline
2025-02-07 19:07:49 +00:00
0da744db72 Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 6s
2025-02-06 20:16:47 +00:00
fb54e7d8de Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 2m42s
2025-02-06 18:24:12 +00:00
1e773c0025 Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 22s
2025-02-06 18:21:04 +00:00
9084cdc0c9 Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 1m51s
2025-02-06 18:10:15 +00:00
98b89ec337 Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 1m52s
2025-02-06 18:07:32 +00:00
bee6878f5c Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 4s
2025-02-06 18:05:52 +00:00
2 changed files with 46 additions and 20 deletions

View file

@ -1,26 +1,51 @@
name: ci-workflow name: ci
on: [push] on: push
jobs: jobs:
ci: build:
runs-on: docker runs-on: ubuntu-22.04
steps: steps:
- name: Checkout -
uses: actions/checkout@v4 name: Repository meta
id: repository
- name: Debug
run: | run: |
echo 1 test 2 ${{ secrets.PACKAGES_USER }} 3 ${{ secrets.REPO_USER }} 4 registry=${{ github.server_url }}
registry=${registry##http*://}
- name: Build echo "registry=${registry}" >> "$GITHUB_OUTPUT"
uses: https://codeberg.org/umglurf/kaniko-action@main echo "registry=${registry}"
repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')"
echo "repository=${repository}" >> "$GITHUB_OUTPUT"
echo "repository=${repository}"
-
name: Docker meta
uses: docker/metadata-action@v5
id: docker
with: with:
cache: true images: ${{ steps.repository.outputs.registry }}/${{ steps.repository.outputs.repository }}
cache_repo: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/fibonacci_go/cache -
credentials: | name: Login to registry
forgejo.edf-bootstrap.cx.fg1.ffm.osc.live=${{ secrets.PACKAGES_USER }}:${{ secrets.PACKAGES_TOKEN }} uses: docker/login-action@v3
destinations: | with:
forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/fibonacci_go:1.2.3 registry: ${{ steps.repository.outputs.registry }}
push: 'true' username: ${{ secrets.PACKAGES_USER }}
password: ${{ secrets.PACKAGES_TOKEN }}
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: '--allow-insecure-entitlement network.host'
driver-opts: network=host
-
name: Build and push
uses: docker/build-push-action@v6
with:
push: true
allow: network.host
network: host
platforms: linux/amd64,linux/arm64
tags: ${{ steps.docker.outputs.tags }}

View file

@ -5,6 +5,7 @@ COPY ./ ./
# RUN go mod download # RUN go mod download
RUN echo jojo
RUN CGO_ENABLED=0 GOOS=linux go build -o fibonacci-go cmd/main.go RUN CGO_ENABLED=0 GOOS=linux go build -o fibonacci-go cmd/main.go
# ToDo: use stretch as image for a completly empty container # ToDo: use stretch as image for a completly empty container