Update .github/workflows/.github-ci.yaml
This commit is contained in:
parent
00c6d54d25
commit
83293957ea
1 changed files with 10 additions and 9 deletions
19
.github/workflows/.github-ci.yaml
vendored
19
.github/workflows/.github-ci.yaml
vendored
|
@ -6,14 +6,15 @@ jobs:
|
|||
runs-on: docker
|
||||
steps:
|
||||
#- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
|
||||
#- name: Check out repository code
|
||||
# uses: actions/checkout@v3
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
# checkout repository
|
||||
- name: checkout
|
||||
uses: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/checkout@main
|
||||
with:
|
||||
#path: .github/workflows
|
||||
ref: main # Specify the branch or tag in the templates repository
|
||||
# server_url: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW/fibonacci_go.git
|
||||
|
||||
|
||||
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 }}
|
||||
|
|
Loading…
Reference in a new issue