mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-26 05:31:32 +00:00
Use github.actor
for GHCR upload
This commit is contained in:
parent
398aae112c
commit
9a727416eb
6
.github/workflows/docker.yml
vendored
6
.github/workflows/docker.yml
vendored
@ -1,6 +1,6 @@
|
|||||||
# Based on https://github.com/docker/build-push-action
|
# Based on https://github.com/docker/build-push-action
|
||||||
|
|
||||||
name: "Docker Hub"
|
name: "Docker"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release: # A GitHub release was published
|
release: # A GitHub release was published
|
||||||
@ -40,7 +40,7 @@ jobs:
|
|||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build monolith image
|
- name: Build monolith image
|
||||||
@ -99,7 +99,7 @@ jobs:
|
|||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build polylith image
|
- name: Build polylith image
|
||||||
|
Loading…
Reference in New Issue
Block a user