use other containers
This commit is contained in:
parent
9719b2b4a8
commit
a4d6ec78c4
3 changed files with 8 additions and 15 deletions
7
.github/workflows/build-docker-test.yml
vendored
7
.github/workflows/build-docker-test.yml
vendored
|
@ -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:
|
||||||
|
|
4
.github/workflows/build-docker.yml
vendored
4
.github/workflows/build-docker.yml
vendored
|
@ -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
|
||||||
|
|
12
.github/workflows/build-go.yml
vendored
12
.github/workflows/build-go.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue