diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 954aeae..c8ab2c2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,10 +44,16 @@ jobs: sudo snap install yq ./build.sh -v ${{ matrix.version }} -l DDEV_VERSION=${{ matrix.version }} bash bats tests + - + name: Login to registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: "Build ddev ${{ matrix.version }} multi-arch image" shell: 'script -q -e -c "bash {0}"' run: | - echo ${{ secrets.GHCR_TOKEN }} | docker login ghcr.io -u ${{ secrets.GHCR_USERNAME }} --password-stdin docker buildx create --use --platform=linux/arm64,linux/amd64 ./build.sh -v ${{ matrix.version }} -x -p