Update .github/workflows/.github-ci.yaml

This commit is contained in:
richardrobertreitz 2024-12-06 09:59:51 +00:00
parent 00c6d54d25
commit 83293957ea

View file

@ -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 }}