Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
set dockerhub username in env
Browse files Browse the repository at this point in the history
  • Loading branch information
nfriedly authored Apr 2, 2022
1 parent fdb6d4e commit f028c30
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
env:
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}
DOCKERHUB_USERNAME: miyoocfw
steps:
- uses: actions/checkout@v3

Expand All @@ -41,8 +42,8 @@ jobs:
with:
# create token at https://hub.docker.com/settings/security
# token needs to have read, write, and delete permissions - read and write only leads to a login error (wtf?)
# set values at https://github.com/[this repo]/settings/secrets/actions
username: ${{ secrets.DOCKERHUB_USERNAME }}
# set value at https://github.com/MiyooCFW/toolchain/settings/secrets/actions
username: ${{ env.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

# Extract metadata (tags, labels) for Docker
Expand Down

0 comments on commit f028c30

Please sign in to comment.