Add docker login to package workflows
This commit is contained in:
parent
25d0f5dc81
commit
ab94ea6eca
@ -62,6 +62,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Required because of release/get_version.py
|
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
|
- name: "Unlock keychain for current session" # Required beacuse ARM builds run on macos
|
||||||
if: ${{ inputs.arch == 'arm' }}
|
if: ${{ inputs.arch == 'arm' }}
|
||||||
run: security -v unlock-keychain -p ${{ secrets.SELF_HOSTED_RUNNER_PASSWORD }} ~/Library/Keychains/login.keychain-db
|
run: security -v unlock-keychain -p ${{ secrets.SELF_HOSTED_RUNNER_PASSWORD }} ~/Library/Keychains/login.keychain-db
|
||||||
|
6
.github/workflows/reusable_package.yaml
vendored
6
.github/workflows/reusable_package.yaml
vendored
@ -62,6 +62,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Required because of release/get_version.py
|
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
|
- name: "Unlock keychain for current session" # Required beacuse ARM builds run on macos
|
||||||
if: ${{ inputs.arch == 'arm' }}
|
if: ${{ inputs.arch == 'arm' }}
|
||||||
run: security -v unlock-keychain -p ${{ secrets.SELF_HOSTED_RUNNER_PASSWORD }} ~/Library/Keychains/login.keychain-db
|
run: security -v unlock-keychain -p ${{ secrets.SELF_HOSTED_RUNNER_PASSWORD }} ~/Library/Keychains/login.keychain-db
|
||||||
|
Loading…
Reference in New Issue
Block a user