Turn on debug #18
Workflow file for this run
This file contains 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 Images | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- feature/* | |
jobs: | |
# When pushing to the main branch, we (re)generate images, tagged with | |
# "latest" | |
ghcr: | |
uses: ./.github/workflows/_build.yml | |
with: | |
registry: ghcr.io | |
platforms: linux/amd64,linux/arm64,linux/i386 | |
secrets: | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
if: github.ref_name == 'main' | |
# When pushing to feature branches, we test stuff on the platform of the | |
# runner only, using a local registry so as to be able to push and pull to | |
# Docker from the builder steps. | |
dev: | |
uses: ./.github/workflows/_build.yml | |
with: | |
registry: localhost:5000 | |
platforms: linux/amd64 | |
if: github.ref_name != 'main' |