Try docker authentication with command-line instead

This commit is contained in:
Ben Meadors 2024-12-15 06:52:45 -06:00
parent 56002155c6
commit 2d45afafe5

View File

@ -53,20 +53,18 @@ jobs:
- name: Docker login - name: Docker login
if: ${{ github.event_name != 'pull_request_target' && github.event_name != 'pull_request' }} if: ${{ github.event_name != 'pull_request_target' && github.event_name != 'pull_request' }}
uses: docker/login-action@v3 run: |
continue-on-error: true # FIXME: Failing docker login auth echo ${{ secrets.DOCKER_FIRMWARE_TOKEN }} | docker login -u meshtastic --password-stdin
with: continue-on-error: true
username: meshtastic
password: ${{ secrets.DOCKER_FIRMWARE_TOKEN }}
- name: Docker setup - name: Docker setup
if: ${{ github.event_name != 'pull_request_target' && github.event_name != 'pull_request' }} 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 uses: docker/setup-buildx-action@v3
- name: Docker build and push tagged versions - name: Docker build and push tagged versions
if: ${{ github.event_name == 'workflow_dispatch' }} 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 uses: docker/build-push-action@v6
with: with:
context: . context: .
@ -76,7 +74,7 @@ jobs:
- name: Docker build and push - name: Docker build and push
if: ${{ github.ref == 'refs/heads/master' && github.event_name != 'pull_request_target' && github.event_name != 'pull_request' }} 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 uses: docker/build-push-action@v6
with: with:
context: . context: .