fix registry url #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish custom cross images | ||
|
Check failure on line 1 in .github/workflows/publish_cross_images.yml
|
||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| branches: | ||
| - main | ||
| paths: | ||
| - "build/cross-images/**" | ||
| permissions: | ||
| contents: read | ||
| jobs: | ||
| build-cross-images: | ||
| # Centreon: skip if DOCKERHUB_USERNAME is not configured in this fork | ||
| if: ${{ secrets.DOCKERHUB_USERNAME != '' }} | ||
| name: Publish cross images | ||
| runs-on: ubuntu-latest | ||
| environment: | ||
| name: production | ||
| steps: | ||
| - name: Check out the repo | ||
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | ||
| - name: Log in to Docker Hub | ||
| uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0 | ||
| with: | ||
| username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
| password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }} | ||
| - name: Build and push cross images | ||
| run: make cross-images | ||