use other containers
Some checks failed
/ test_docker (push) Failing after 6s
/ test_build (push) Failing after 6s

This commit is contained in:
Kai Reichart 2024-11-27 14:01:12 +01:00
parent 9719b2b4a8
commit a4d6ec78c4
3 changed files with 8 additions and 15 deletions

View file

@ -1,12 +1,5 @@
on: [push] on: [push]
jobs: jobs:
ls:
runs-on: docker
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: List Files
run: ls -al
test_docker: test_docker:
uses: ./.github/workflows/build-docker.yml uses: ./.github/workflows/build-docker.yml
with: with:

View file

@ -17,10 +17,8 @@ jobs:
build-go: build-go:
runs-on: docker runs-on: docker
container: container:
image: docker:27.4.0-rc.2-dind-alpine3.20 image: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/pipeline-container/dind:27.4.0-rc2
steps: steps:
- name: Install git
run: apk add --no-cache git
- name: Clone Repository - name: Clone Repository
run: git clone https://wf:${{ github.token }}@{{ github.server_url#https:// }}/{{ github.repository_owner }}/{{ github.repository }}.git {{ github.workspace }} run: git clone https://wf:${{ github.token }}@{{ github.server_url#https:// }}/{{ github.repository_owner }}/{{ github.repository }}.git {{ github.workspace }}
- name: Check Out Branch - name: Check Out Branch

View file

@ -23,12 +23,14 @@ jobs:
build-go: build-go:
runs-on: docker runs-on: docker
container: container:
image: docker.io/node:20-bookworm image: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/pipeline-container/go:1.23
steps: steps:
- uses: actions/checkout@v4 - name: Clone Repository
- uses: actions/setup-go@v5 run: git clone https://wf:${{ github.token }}@{{ github.server_url#https:// }}/{{ github.repository_owner }}/{{ github.repository }}.git {{ github.workspace }}
with: - name: Check Out Branch
go-version: ${{ inputs.go-version }} run: |
cd ${{ github.workspace }}
git checkout ${{ github.ref }}
- name: Set up Go - name: Set up Go
run: | run: |
go version go version