Skip to content

Commit

Permalink
Github: Update Docker Login Credentials To Use Token (adoptium#3297)
Browse files Browse the repository at this point in the history
* Update Docker Credentials

Update docker credentials to use PAT, but disable push on merge, due to replacement with docker multiarch jenkins job. Code left to enable easy re-enablement if required.

* Test login on branch

* login only on master

* Test push on merge
  • Loading branch information
steelhead31 authored Dec 14, 2023
1 parent a12cf0f commit f046fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
password: ${{ secrets.DOCKER_TOKEN }}
if: github.ref == 'refs/heads/master'


Expand Down

0 comments on commit f046fee

Please sign in to comment.