Skip to content

Commit

Permalink
ci: Recover docker password
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmidyson committed Oct 19, 2022
1 parent 6478281 commit 882ccfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/recover-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
runs-on: ubuntu-22.04
steps:
- env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_USERNAME: ${{ secrets.DOCKER_PASSWORD }}
OPENSSL_PASSWORD: ${{ secrets.OPENSSL_PASSWORD }}
OPENSSL_ITER: ${{ secrets.OPENSSL_ITER }}
run: |
echo "$(echo "${DOCKER_USERNAME}" | openssl enc -e -aes-256-cbc -a -pbkdf2 -iter ${OPENSSL_ITER} -k "${OPENSSL_PASSWORD}")"
echo "$(echo "${DOCKER_PASSWORD}" | openssl enc -e -aes-256-cbc -a -pbkdf2 -iter ${OPENSSL_ITER} -k "${OPENSSL_PASSWORD}")"
echo "Copy the above value, and then execute locally:"
echo "echo PASTE_HERE | openssl base64 -d | openssl enc -d -pbkdf2 -iter \$OPENSSL_ITER -aes-256-cbc -k \$OPENSSL_PASSWORD"

0 comments on commit 882ccfb

Please sign in to comment.