From 2d45afafe56091b757b7e23839564770ae1dfc1a Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Sun, 15 Dec 2024 06:52:45 -0600 Subject: [PATCH] Try docker authentication with command-line instead --- .github/workflows/build_native.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_native.yml b/.github/workflows/build_native.yml index d4b0c8d58..d9591e72c 100644 --- a/.github/workflows/build_native.yml +++ b/.github/workflows/build_native.yml @@ -53,20 +53,18 @@ jobs: - name: Docker login if: ${{ github.event_name != 'pull_request_target' && github.event_name != 'pull_request' }} - uses: docker/login-action@v3 - continue-on-error: true # FIXME: Failing docker login auth - with: - username: meshtastic - password: ${{ secrets.DOCKER_FIRMWARE_TOKEN }} + run: | + echo ${{ secrets.DOCKER_FIRMWARE_TOKEN }} | docker login -u meshtastic --password-stdin + continue-on-error: true - name: Docker setup if: ${{ github.event_name != 'pull_request_target' && github.event_name != 'pull_request' }} - continue-on-error: true # FIXME: Failing docker login auth + continue-on-error: true uses: docker/setup-buildx-action@v3 - name: Docker build and push tagged versions if: ${{ github.event_name == 'workflow_dispatch' }} - continue-on-error: true # FIXME: Failing docker login auth + continue-on-error: true uses: docker/build-push-action@v6 with: context: . @@ -76,7 +74,7 @@ jobs: - name: Docker build and push if: ${{ github.ref == 'refs/heads/master' && github.event_name != 'pull_request_target' && github.event_name != 'pull_request' }} - continue-on-error: true # FIXME: Failing docker login auth + continue-on-error: true uses: docker/build-push-action@v6 with: context: .