Skip to content

Commit 0154b8a

Browse files
committed
fix: just pull from ghcr.io, no need to login
1 parent 2ac702e commit 0154b8a

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

action.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,9 @@ inputs:
3838
ignored-users:
3939
description: 'Comma separated list of user ids to totally ignore always, useful for owners of an org you do not want accidentally removed'
4040
required: false
41-
github-token:
42-
description: github token to use to pull the docker image secrets.GITHUB_TOKEN is probably fine
43-
required: true
44-
github-actor:
45-
description: github actor to use to pull the docker image github.actor is probably fine
46-
required: true
4741
runs:
4842
using: "composite"
4943
steps:
50-
- name: Login to docker.pkg.github.com
51-
shell: bash
52-
run: echo ${PASSWORD} | docker login --username ${USERNAME} --password-stdin docker.pkg.github.com
53-
env:
54-
USERNAME: ${{ inputs.github-actor }}
55-
PASSWORD: ${{ inputs.github-token }}
5644
- name: Run
5745
run: |
5846
docker run --rm \
@@ -67,7 +55,7 @@ runs:
6755
-e GITHUB_INSTALLATION_ID="$GITHUB_INSTALLATION_ID" \
6856
-e GITHUB_PRIVATE_KEY="$GITHUB_PRIVATE_KEY" \
6957
-e IGNORED_USERS="$IGNORED_USERS" \
70-
docker.pkg.github.com/remarkable/githubusermanager/githubusermanager:v1.3.2
58+
ghcr.io/remarkable/githubusermanager/githubusermanager:v1.3.2
7159
shell: bash
7260
env:
7361
GOOGLE_EMAIL_ADDRESS: ${{ inputs.google-email-address }}

0 commit comments

Comments
 (0)