Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ jobs:
- id: docker_meta
uses: crazy-max/ghaction-docker-meta@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
with:
images: docker.pkg.github.com/appvia/githubUserManager/githubUserManager
images: ghcr.io/appvia/githubusermanager
flavor: |
latest=true
tags: |
type=sha
type=semver,pattern={{version}}
type=semver,pattern=v{{version}}
labels: |
org.opencontainers.image.vendor=appvia
org.opencontainers.image.documentation=https://github.com/appvia/githubUserManager
Expand All @@ -53,11 +53,11 @@ jobs:
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@c99871dec2022cc055c062a10cc1a1310835ceb4 # v4.3.0
with:
registry: docker.pkg.github.com
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push to GitHub Packages
- name: Push to ghcr.io
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
with:
push: ${{ github.event_name != 'pull_request' }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ updates:
#### Docker

1. Make an [env file](https://www.digitalocean.com/community/tutorials/how-to-read-and-set-environmental-and-shell-variables-on-linux) with the [below table](#Setup-environment-variables)
1. `docker run --env-file .env docker.pkg.github.com/appvia/githubusermanager/githubusermanager:main`
1. `docker run --env-file .env ghcr.io/appvia/githubusermanager:latest`

#### node/lambda/cloud run/ something else

Expand Down
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ inputs:
runs:
using: "composite"
steps:
- name: Login to docker.pkg.github.com
- name: Login to ghcr.io
shell: bash
run: echo ${PASSWORD} | docker login --username ${USERNAME} --password-stdin docker.pkg.github.com
run: echo ${PASSWORD} | docker login --username ${USERNAME} --password-stdin ghcr.io
env:
USERNAME: ${{ inputs.github-actor }}
PASSWORD: ${{ inputs.github-token }}
Expand All @@ -82,7 +82,7 @@ runs:
-e SLACK_NOTIFY_ON_ERROR="$SLACK_NOTIFY_ON_ERROR" \
-e SLACK_NOTIFY_ON_CHANGE="$SLACK_NOTIFY_ON_CHANGE" \
-e SLACK_NOTIFY_ALWAYS="$SLACK_NOTIFY_ALWAYS" \
docker.pkg.github.com/appvia/githubusermanager/githubusermanager:v1.0.5
ghcr.io/appvia/githubusermanager:${{ github.action_ref }}
shell: bash
env:
GOOGLE_EMAIL_ADDRESS: ${{ inputs.google-email-address }}
Expand Down
Loading