From 7dc65884589fddf3925366879d5ae181c2898e9d Mon Sep 17 00:00:00 2001 From: Matt Gates Date: Wed, 20 Dec 2023 15:35:58 -0600 Subject: [PATCH] try here too --- .github/workflows/builder.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 8d3fc490..21a168e5 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -12,8 +12,24 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Login to ghcr + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.CR_PAT }} + # - name: Build and push + # uses: docker/build-push-action@v5 + # with: + # context: . + # push: true + # target: main + # tags: ghcr.io//:latest + # cache-from: type=registry,ref=ghcr.io//:latest + # cache-to: type=inline - name: Build the Docker image run: | - echo "${{ secrets.CR_PAT }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin docker compose -f ./docker-compose.yml build docker compose -f ./docker-compose.yml push