diff --git a/.github/workflows/publish-images.yaml b/.github/workflows/publish-images.yaml index f284e5e2..4489be80 100644 --- a/.github/workflows/publish-images.yaml +++ b/.github/workflows/publish-images.yaml @@ -15,6 +15,7 @@ jobs: test: permissions: contents: read # for actions/checkout to fetch code + packages: write # for publishing docker images name: Build and Publish Images runs-on: ubuntu-latest @@ -42,6 +43,13 @@ jobs: - name: Check out code uses: actions/checkout@v4 + - name: Log in to the Container registry + uses: docker/login-action@v3.2.0 + with: + registry: https://ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Build bootstrap provider image run: make BOOTSTRAP_IMAGE_TAG=${{ steps.determine.outputs.version }} docker-build-bootstrap