From 5863a17ac39fe0a69664534797bdb2003abd792d Mon Sep 17 00:00:00 2001 From: "Tim Peters (FaimMedia B.V.)" Date: Sat, 27 Apr 2024 14:49:54 +0200 Subject: [PATCH] Added login --- .github/workflows/pipeline.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 3598dd8..799ed6d 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -53,12 +53,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Login to GitHub Container Registry + uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Download vendor folder uses: actions/download-artifact@v4 with: name: composer-vendor - - name: Output tag - run: echo ${{ needs.setup.outputs.tag }} - name: Build the Docker image run: docker buildx build --pull --push --no-cache --tag="ghcr.io/faimmedia/php-migration/test:${{ needs.setup.outputs.tag }}" --file ./docker/php/Dockerfile .