Support other repo owners in GH docker action
Being able to functionaly utilize the same GH Docker action can be beneficial for users wanting to build, test and develop in their own repos. To do so, use ${{ github.repository_owner }} in the action. That should provide some rudimentary flexibility without breaking the canonical repo. Users of this functionality should take care to populate the required secrets in Github * DOCKERHUB_TOKEN, DOCKERHUB_USERNAME * CR_PAT
This commit is contained in:
parent
abe568b5b3
commit
cf96ab45c1
1 changed files with 2 additions and 2 deletions
4
.github/workflows/docker.yml
vendored
4
.github/workflows/docker.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
|||
- name: Generate Alpine Docker tag
|
||||
id: docker_alpine_tag
|
||||
run: |
|
||||
DOCKER_IMAGE=miniflux/miniflux
|
||||
DOCKER_IMAGE=${{ github.repository_owner }}/miniflux
|
||||
DOCKER_VERSION=dev
|
||||
if [ "${{ github.event_name }}" = "schedule" ]; then
|
||||
DOCKER_VERSION=nightly
|
||||
|
@ -32,7 +32,7 @@ jobs:
|
|||
- name: Generate Distroless Docker tag
|
||||
id: docker_distroless_tag
|
||||
run: |
|
||||
DOCKER_IMAGE=miniflux/miniflux
|
||||
DOCKER_IMAGE=${{ github.repository_owner }}/miniflux
|
||||
DOCKER_VERSION=dev-distroless
|
||||
if [ "${{ github.event_name }}" = "schedule" ]; then
|
||||
DOCKER_VERSION=nightly-distroless
|
||||
|
|
Loading…
Reference in a new issue