mirror of
https://github.com/hoellen/docker-nextcloud.git
synced 2025-04-20 04:29:34 +00:00
Use GITHUB_TOKEN for authentication
This commit is contained in:
parent
76891f6cdf
commit
3a563dd4e2
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -39,9 +39,9 @@ jobs:
|
|||||||
# with:
|
# with:
|
||||||
# sarif_file: 'trivy-results.sarif'
|
# sarif_file: 'trivy-results.sarif'
|
||||||
|
|
||||||
- name: Docker login
|
- name: Login to the registry
|
||||||
run: >-
|
run: >-
|
||||||
echo "${{ secrets.GHCR_TOKEN }}"
|
echo "${{ secrets.GITHUB_TOKEN }}"
|
||||||
| docker login -u "${{ github.actor }}" --password-stdin ghcr.io
|
| docker login -u "${{ github.actor }}" --password-stdin ghcr.io
|
||||||
|
|
||||||
- name: Push image to GitHub
|
- name: Push image to GitHub
|
||||||
|
Loading…
x
Reference in New Issue
Block a user