diff --git a/.github/workflows/.github-ci.yaml b/.github/workflows/.github-ci.yaml index c4fe02e..2aeb8c3 100644 --- a/.github/workflows/.github-ci.yaml +++ b/.github/workflows/.github-ci.yaml @@ -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 }}