From 3e2eac7517ec07cd4caefcc1cfeafe47fea5f2a2 Mon Sep 17 00:00:00 2001 From: richardrobertreitz Date: Fri, 6 Dec 2024 10:19:56 +0000 Subject: [PATCH] Update .github/workflows/.github-ci.yaml --- .github/workflows/.github-ci.yaml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/.github-ci.yaml b/.github/workflows/.github-ci.yaml index 2aeb8c3..1291163 100644 --- a/.github/workflows/.github-ci.yaml +++ b/.github/workflows/.github-ci.yaml @@ -4,17 +4,19 @@ on: [push] jobs: ci: runs-on: docker + container: + image: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/pipeline-container/kaniko:v1.23.2-2 steps: #- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." - name: Check out repository code uses: actions/checkout@v3 # checkout repository - - name: checkout - uses: DevFW-CICD/build/.github/workflows/build-docker.yml@main - with: - dockerfile: './Dockerfile' - context: './app' - tag: 'my-registry.com/my-app:latest' - registry: 'my-registry.com' - username: ${{ secrets.REGISTRY_USERNAME }} - password: ${{ secrets.REGISTRY_PASSWORD }} + - name: build + uses: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/build/.github/workflows/build-docker.yml@main + with: + dockerfile: './Dockerfile' + context: '.' + tag: 'my-registry.com/my-app:latest' + registry: 'my-registry.com' + username: ${{ secrets.REGISTRY_USERNAME }} + password: ${{ secrets.REGISTRY_PASSWORD }}