Skip to content

Configure the workflow

This section shows you how to notify your infrastructure repository about an updated container image.

Step 1: Enable the notification step

Remove the if statement from the dispatch job:


-    if: ${{ false }} # Initially disabled
     needs: docker-build-push

     runs-on: ubuntu-latest

Step 2: Try to run the workflow

Try running the workflow. It will fail because the workflow tries to send a "dispatch event" to your infrastructure repository without the proper authentication. To resolve this, you need to set up a Personal Access Token (PAT).