Update deploy.yml
This commit is contained in:
parent
eabad0d27c
commit
a3e88cc79e
1 changed files with 5 additions and 1 deletions
|
|
@ -42,7 +42,11 @@ jobs:
|
|||
git checkout -q FETCH_HEAD
|
||||
|
||||
- name: Registry login
|
||||
run: printf '%s\n' "${{ secrets.REGISTRY_TOKEN }}" | docker login "$REGISTRY_HOST" -u "$REGISTRY_OWNER" --password-stdin
|
||||
env:
|
||||
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
|
||||
run: |
|
||||
[ -n "$REGISTRY_TOKEN" ] || { echo "REGISTRY_TOKEN secret is empty"; exit 1; }
|
||||
docker login "$REGISTRY_HOST" -u "$REGISTRY_OWNER" -p "$REGISTRY_TOKEN"
|
||||
|
||||
- name: Build & push images (SHA tag)
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue