Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 0s
Some checks failed
ci-workflow / ci (push) Failing after 0s
This commit is contained in:
parent
83293957ea
commit
3e2eac7517
1 changed files with 11 additions and 9 deletions
20
.github/workflows/.github-ci.yaml
vendored
20
.github/workflows/.github-ci.yaml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue