Skip to content

Commit

Permalink
[TASK] Login to ghcr.io
Browse files Browse the repository at this point in the history
  • Loading branch information
ochorocho committed Sep 10, 2024
1 parent 4219d8e commit 6d3392a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ jobs:
-
name: Checkout code
uses: actions/checkout@v3
# Log in to the GitHub Container Registry (ghcr.io)
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Docker info
run: docker info
Expand Down Expand Up @@ -48,6 +55,5 @@ jobs:
name: "Build ddev ${{ matrix.version }} multi-arch image"
shell: 'script -q -e -c "bash {0}"'
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
docker buildx create --use --platform=linux/arm64,linux/amd64
./build.sh -v ${{ matrix.version }} -x -p

0 comments on commit 6d3392a

Please sign in to comment.