Docker #9
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: Docker | ||
| on: | ||
| push: | ||
| branches: [main] | ||
| pull_request: | ||
| branches: [main] | ||
| workflow_dispatch: | ||
| inputs: | ||
| push: | ||
| description: Push image to configured registries | ||
| type: boolean | ||
| default: false | ||
| jobs: | ||
| docker: | ||
|
Check failure on line 16 in .github/workflows/docker.yml
|
||
| uses: mildman1848/mildman1848-docker-image-template/.github/workflows/docker-build.yml@main | ||
| with: | ||
| image_name: postgresql-lsio | ||
| dockerfile: Dockerfile | ||
| context: . | ||
| platforms: linux/amd64,linux/arm64,linux/arm/v7 | ||
| app_version: 16.14 | ||
| image_revision: mld1 | ||
| push: ${{ github.event_name == 'workflow_dispatch' && inputs.push }} | ||
| # Optional registry targets. Configure matching credentials before enabling push. | ||
| gitlab_image: registry.gitlab.com/mildman1848/postgresql-lsio | ||
| codeberg_registry: codeberg.org | ||
| codeberg_image: codeberg.org/mildman1848/postgresql-lsio | ||
| secrets: | ||
| DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | ||
| DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} | ||
| GITLAB_REGISTRY_USER: ${{ secrets.GITLAB_REGISTRY_USER }} | ||
| GITLAB_REGISTRY_TOKEN: ${{ secrets.GITLAB_REGISTRY_TOKEN }} | ||
| CODEBERG_REGISTRY_USER: ${{ secrets.CODEBERG_REGISTRY_USER }} | ||
| CODEBERG_REGISTRY_TOKEN: ${{ secrets.CODEBERG_REGISTRY_TOKEN }} | ||