Add docker login to package workflows

This commit is contained in:
Deda 2024-03-20 09:39:30 +01:00
parent 25d0f5dc81
commit ab94ea6eca
2 changed files with 12 additions and 0 deletions

View File

@ -62,6 +62,12 @@ jobs:
with:
fetch-depth: 0 # Required because of release/get_version.py
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: "Unlock keychain for current session" # Required beacuse ARM builds run on macos
if: ${{ inputs.arch == 'arm' }}
run: security -v unlock-keychain -p ${{ secrets.SELF_HOSTED_RUNNER_PASSWORD }} ~/Library/Keychains/login.keychain-db

View File

@ -62,6 +62,12 @@ jobs:
with:
fetch-depth: 0 # Required because of release/get_version.py
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: "Unlock keychain for current session" # Required beacuse ARM builds run on macos
if: ${{ inputs.arch == 'arm' }}
run: security -v unlock-keychain -p ${{ secrets.SELF_HOSTED_RUNNER_PASSWORD }} ~/Library/Keychains/login.keychain-db