Skip to content

Commit

Permalink
Try docker authentication with command-line instead
Browse files Browse the repository at this point in the history
  • Loading branch information
thebentern committed Dec 15, 2024
1 parent 5600215 commit 2d45afa
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/build_native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: .
Expand All @@ -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: .
Expand Down

0 comments on commit 2d45afa

Please sign in to comment.