Skip to content

Commit

Permalink
Changes the docker password variable to token (#4924)
Browse files Browse the repository at this point in the history
* fix: changes the docker password to token

* fix: update docker pass for main release workflow

* fix: change DOCKER_PASSWORD to token
  • Loading branch information
FalcoXYZ authored and kamilchodola committed Nov 21, 2022
1 parent 8a30004 commit 6aea772
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-nethtest-hive-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Logging to Docker Hub
if: success()
run: |
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login --username "${{ secrets.DOCKER_USERNAME }}" --password-stdin
echo "${{ secrets.DOCKER_ACCESS_TOKEN }}" | docker login --username "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: Building & Pushing image to docker registry
run: |
docker buildx build --platform=linux/amd64 -t nethermindeth/nethtest -f Dockerfile.stateRunner . --push
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-truffle-smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Logging to Docker Hub
if: success()
run: |
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login --username "${{ secrets.DOCKER_USERNAME }}" --password-stdin
echo "${{ secrets.DOCKER_ACCESS_TOKEN }}" | docker login --username "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: Building Docker image
run: |
docker buildx build --platform=linux/amd64 -t nethermindeth/truffle . --push
Expand Down

0 comments on commit 6aea772

Please sign in to comment.